diff options
Diffstat (limited to 'node_modules/locutus/php/datetime/checkdate.js.map')
-rw-r--r-- | node_modules/locutus/php/datetime/checkdate.js.map | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/node_modules/locutus/php/datetime/checkdate.js.map b/node_modules/locutus/php/datetime/checkdate.js.map deleted file mode 100644 index e1aab81..0000000 --- a/node_modules/locutus/php/datetime/checkdate.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../../src/php/datetime/checkdate.js"],"names":["module","exports","checkdate","m","d","y","Date","getDate"],"mappings":";;AAAAA,OAAOC,OAAP,GAAiB,SAASC,SAAT,CAAoBC,CAApB,EAAuBC,CAAvB,EAA0BC,CAA1B,EAA6B;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAAOF,IAAI,CAAJ,IAASA,IAAI,EAAb,IAAmBE,IAAI,CAAvB,IAA4BA,IAAI,KAAhC,IAAyCD,IAAI,CAA7C,IAAkDA,KAAM,IAAIE,IAAJ,CAASD,CAAT,EAAYF,CAAZ,EAAe,CAAf,CAAD,CAC3DI,OAD2D,EAA9D;AAED,CAhBD","file":"checkdate.js","sourcesContent":["module.exports = function checkdate (m, d, y) {\n // discuss at: http://locutus.io/php/checkdate/\n // original by: Kevin van Zonneveld (http://kvz.io)\n // improved by: Pyerre\n // improved by: Theriault (https://github.com/Theriault)\n // example 1: checkdate(12, 31, 2000)\n // returns 1: true\n // example 2: checkdate(2, 29, 2001)\n // returns 2: false\n // example 3: checkdate(3, 31, 2008)\n // returns 3: true\n // example 4: checkdate(1, 390, 2000)\n // returns 4: false\n\n return m > 0 && m < 13 && y > 0 && y < 32768 && d > 0 && d <= (new Date(y, m, 0))\n .getDate()\n}\n"]}
\ No newline at end of file |