unprint 0.18.5 → 0.18.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/app.js +1 -1
package/package.json
CHANGED
package/src/app.js
CHANGED
|
@@ -736,7 +736,7 @@ function extractDate(dateString, format, customOptions) {
|
|
|
736
736
|
}
|
|
737
737
|
|
|
738
738
|
const options = {
|
|
739
|
-
match: /((\d{1,4}[/-]\d{1,2}[/-]\d{1,4})|(\w+\s+\d{1,2},?\s+\d{4}))((T|\s+)\d{1,2}:\d{2}(:\d{2})?)?/g, // matches any of 01-01-1970, 1970-01-01 and January 1, 1970 with optional 00:00[:00] time
|
|
739
|
+
match: /((\d{1,4}[/-]\d{1,2}[/-]\d{1,4})|(\w+\s+\d{1,2},?\s+\d{4})|(\d{1,2}-\w+-\d{2,4}))((T|\s+)\d{1,2}:\d{2}(:\d{2})?)?/g, // matches any of 01-01-1970, 1970-01-01, 01-Jan-70 and January 1, 1970 with optional 00:00[:00] time
|
|
740
740
|
matchIndex: 0,
|
|
741
741
|
timezone: 'UTC',
|
|
742
742
|
...customOptions,
|