We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ade9c65 commit e6d277bCopy full SHA for e6d277b
src/cldr/parse-range-date.js
@@ -1,8 +1,8 @@
1
-export default function(value) {
+export default function parseRangeDate(value) {
2
const parts = value.split('-');
3
const year = parseInt(parts[0], 10);
4
const month = parseInt(parts[1], 10) - 1;
5
const day = parseInt(parts[2], 10);
6
7
return new Date(year, month, day);
8
-}
+}
0 commit comments