moment-parseformat
Advanced tools
Comparing version 0.0.4 to 0.0.5
{ | ||
"name": "moment-parseformat", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"authors": [ | ||
@@ -5,0 +5,0 @@ "Gregor Martynus <gregor@martynus.net>" |
@@ -39,5 +39,10 @@ /* global moment */ | ||
var regexFillingWords = /(at)/i; | ||
function parseDateFormat(string) { | ||
var format = string; | ||
// escape filling words | ||
format = format.replace(regexFillingWords, '[$1]'); | ||
// DAYS | ||
@@ -44,0 +49,0 @@ |
{ | ||
"name": "moment-parseformat", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "A moment.js plugin to extract the format of a date/time string", | ||
@@ -5,0 +5,0 @@ "main": "moment.parseFormat.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2783641
39728