ddf-time-utils
Advanced tools
Comparing version 0.1.0 to 0.1.1
10
index.js
@@ -19,7 +19,7 @@ 'use strict'; | ||
const YEAR_PATTERN = /^(\d{4})$/; | ||
const QUARTER_PATTERN = /^(\d{4})q(\d{1})$/; | ||
const MONTH_PATTERN = /^(\d{4})(\d{2})$/; | ||
const WEEK_PATTERN = /^(\d{4})w(\d{1,2})$/; | ||
const DATE_PATTERN = /^(\d{4})(\d{2})(\d{2})$/; | ||
const YEAR_PATTERN = /^(\d{3,4})$/; | ||
const QUARTER_PATTERN = /^(\d{3,4})q(\d{1})$/; | ||
const MONTH_PATTERN = /^(\d{3,4})(\d{2})$/; | ||
const WEEK_PATTERN = /^(\d{3,4})w(\d{1,2})$/; | ||
const DATE_PATTERN = /^(\d{3,4})(\d{2})(\d{2})$/; | ||
@@ -26,0 +26,0 @@ const TIME_TYPE_PATTERNS = { |
{ | ||
"name": "ddf-time-utils", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Gapminder DDF time utils", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -9,4 +9,4 @@ 'use strict'; | ||
multiple: { | ||
query: ['1800', ['2013', '2015'], '2017'], | ||
result: ['1800', '2013', '2014', '2015', '2017'] | ||
query: ['1800', ['2013', '2015'], '2017', '980'], | ||
result: ['1800', '2013', '2014', '2015', '2017', '980'] | ||
} | ||
@@ -13,0 +13,0 @@ }, |
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
54661