Last active
November 14, 2024 08:49
Revisions
-
m-coding revised this gist
Apr 6, 2016 . No changes.There are no files selected for viewing
-
m-coding revised this gist
Apr 6, 2016 . 1 changed file with 0 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1 +0,0 @@ -
m-coding revised this gist
Apr 6, 2016 . 2 changed files with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ _ This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,7 +2,7 @@ // http://stackoverflow.com/questions/24989065/trying-to-validate-yyyy-mm-dd /^\d{4}[\/.]\d{1,2}[\/.]\d{1,2}$/ // YYYY-MM-DD and YYYY-M-D // http://stackoverflow.com/questions/6177975/how-to-validate-date-with-format-mm-dd-yyyy-in-javascript /^\d{4}\-\d{1,2}\-\d{1,2}$/ -
m-coding revised this gist
Apr 6, 2016 . 1 changed file with 5 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,4 +4,8 @@ // only allows YYYY-MM-DD // http://stackoverflow.com/questions/6177975/how-to-validate-date-with-format-mm-dd-yyyy-in-javascript /^\d{4}\-\d{1,2}\-\d{1,2}$/ // YYYY-MM-DD // https://gist.github.com/arth2o/8471150 /(\d{4})-(\d{2})-(\d{2})/ -
m-coding revised this gist
Apr 6, 2016 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,7 @@ // allows YYYY/M/D and periods instead of slashes // http://stackoverflow.com/questions/24989065/trying-to-validate-yyyy-mm-dd /^\d{4}[\/.]\d{1,2}[\/.]\d{1,2}$/ // only allows YYYY-MM-DD // http://stackoverflow.com/questions/6177975/how-to-validate-date-with-format-mm-dd-yyyy-in-javascript /^\d{4}\-\d{1,2}\-\d{1,2}$/ -
m-coding created this gist
Apr 6, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ // allows YYYY/M/D and periods instead of slashes /^\d{4}[\/.]\d{1,2}[\/.]\d{1,2}$/ // only allows YYYY-MM-DD /^\d{4}\-\d{1,2}\-\d{1,2}$/