chrono-node 2.4.2 → 2.5.0
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/.idea/workspace.xml +36 -29
- package/coverage/clover.xml +2036 -1854
- package/coverage/coverage-final.json +146 -137
- package/coverage/lcov-report/index.html +89 -44
- package/coverage/lcov-report/src/calculation/index.html +1 -1
- package/coverage/lcov-report/src/calculation/mergingCalculation.ts.html +35 -35
- package/coverage/lcov-report/src/calculation/years.ts.html +17 -17
- package/coverage/lcov-report/src/chrono.ts.html +57 -57
- package/coverage/lcov-report/src/common/abstractRefiners.ts.html +23 -23
- package/coverage/lcov-report/src/common/calculation/index.html +1 -1
- package/coverage/lcov-report/src/common/calculation/weekdays.ts.html +31 -31
- package/coverage/lcov-report/src/common/casualReferences.ts.html +145 -58
- package/coverage/lcov-report/src/common/index.html +12 -12
- package/coverage/lcov-report/src/common/parsers/AbstractParserWithWordBoundary.ts.html +17 -17
- package/coverage/lcov-report/src/common/parsers/AbstractTimeExpressionParser.ts.html +155 -155
- package/coverage/lcov-report/src/common/parsers/ISOFormatParser.ts.html +14 -14
- package/coverage/lcov-report/src/common/parsers/SlashDateFormatParser.ts.html +36 -36
- package/coverage/lcov-report/src/common/parsers/index.html +1 -1
- package/coverage/lcov-report/src/common/refiners/AbstractMergeDateRangeRefiner.ts.html +18 -18
- package/coverage/lcov-report/src/common/refiners/AbstractMergeDateTimeRefiner.ts.html +9 -9
- package/coverage/lcov-report/src/common/refiners/ExtractTimezoneAbbrRefiner.ts.html +16 -16
- package/coverage/lcov-report/src/common/refiners/ExtractTimezoneOffsetRefiner.ts.html +14 -14
- package/coverage/lcov-report/src/common/refiners/ForwardDateRefiner.ts.html +14 -14
- package/coverage/lcov-report/src/common/refiners/MergeWeekdayComponentRefiner.ts.html +11 -11
- package/coverage/lcov-report/src/common/refiners/OverlapRemovalRefiner.ts.html +16 -16
- package/coverage/lcov-report/src/common/refiners/UnlikelyFormatFilter.ts.html +12 -12
- package/coverage/lcov-report/src/common/refiners/index.html +1 -1
- package/coverage/lcov-report/src/configurations.ts.html +18 -18
- package/coverage/lcov-report/src/debugging.ts.html +4 -4
- package/coverage/lcov-report/src/index.html +7 -7
- package/coverage/lcov-report/src/index.ts.html +35 -32
- package/coverage/lcov-report/src/locales/de/constants.ts.html +15 -15
- package/coverage/lcov-report/src/locales/de/index.html +1 -1
- package/coverage/lcov-report/src/locales/de/index.ts.html +30 -30
- package/coverage/lcov-report/src/locales/de/parsers/DECasualDateParser.ts.html +10 -10
- package/coverage/lcov-report/src/locales/de/parsers/DECasualTimeParser.ts.html +7 -7
- package/coverage/lcov-report/src/locales/de/parsers/DEMonthNameLittleEndianParser.ts.html +12 -12
- package/coverage/lcov-report/src/locales/de/parsers/DESpecificTimeExpressionParser.ts.html +9 -9
- package/coverage/lcov-report/src/locales/de/parsers/DETimeExpressionParser.ts.html +3 -3
- package/coverage/lcov-report/src/locales/de/parsers/DETimeUnitRelativeFormatParser.ts.html +8 -8
- package/coverage/lcov-report/src/locales/de/parsers/DEWeekdayParser.ts.html +10 -10
- package/coverage/lcov-report/src/locales/de/parsers/index.html +1 -1
- package/coverage/lcov-report/src/locales/de/refiners/DEMergeDateRangeRefiner.ts.html +3 -3
- package/coverage/lcov-report/src/locales/de/refiners/DEMergeDateTimeRefiner.ts.html +3 -3
- package/coverage/lcov-report/src/locales/de/refiners/index.html +1 -1
- package/coverage/lcov-report/src/locales/en/constants.ts.html +57 -39
- package/coverage/lcov-report/src/locales/en/index.html +1 -1
- package/coverage/lcov-report/src/locales/en/index.ts.html +36 -36
- package/coverage/lcov-report/src/locales/en/parsers/ENCasualDateParser.ts.html +8 -8
- package/coverage/lcov-report/src/locales/en/parsers/ENCasualTimeParser.ts.html +24 -93
- package/coverage/lcov-report/src/locales/en/parsers/ENCasualYearMonthDayParser.ts.html +11 -11
- package/coverage/lcov-report/src/locales/en/parsers/ENMonthNameLittleEndianParser.ts.html +14 -14
- package/coverage/lcov-report/src/locales/en/parsers/ENMonthNameMiddleEndianParser.ts.html +14 -14
- package/coverage/lcov-report/src/locales/en/parsers/ENMonthNameParser.ts.html +12 -12
- package/coverage/lcov-report/src/locales/en/parsers/ENRelativeDateFormatParser.ts.html +11 -11
- package/coverage/lcov-report/src/locales/en/parsers/ENSlashMonthFormatParser.ts.html +7 -7
- package/coverage/lcov-report/src/locales/en/parsers/ENTimeExpressionParser.ts.html +14 -14
- package/coverage/lcov-report/src/locales/en/parsers/ENTimeUnitAgoFormatParser.ts.html +14 -14
- package/coverage/lcov-report/src/locales/en/parsers/ENTimeUnitCasualRelativeFormatParser.ts.html +8 -8
- package/coverage/lcov-report/src/locales/en/parsers/ENTimeUnitLaterFormatParser.ts.html +13 -13
- package/coverage/lcov-report/src/locales/en/parsers/ENTimeUnitWithinFormatParser.ts.html +10 -10
- package/coverage/lcov-report/src/locales/en/parsers/ENWeekdayParser.ts.html +11 -11
- package/coverage/lcov-report/src/locales/en/parsers/index.html +14 -14
- package/coverage/lcov-report/src/locales/en/refiners/ENMergeDateRangeRefiner.ts.html +3 -3
- package/coverage/lcov-report/src/locales/en/refiners/ENMergeDateTimeRefiner.ts.html +3 -3
- package/coverage/lcov-report/src/locales/en/refiners/ENMergeRelativeDateRefiner.ts.html +6 -6
- package/coverage/lcov-report/src/locales/en/refiners/index.html +1 -1
- package/coverage/lcov-report/src/locales/es/constants.ts.html +340 -0
- package/coverage/lcov-report/src/locales/es/index.html +131 -0
- package/coverage/lcov-report/src/locales/es/index.ts.html +256 -0
- package/coverage/lcov-report/src/locales/es/parsers/ESCasualDateParser.ts.html +178 -0
- package/coverage/lcov-report/src/locales/es/parsers/ESCasualTimeParser.ts.html +226 -0
- package/coverage/lcov-report/src/locales/es/parsers/ESMonthNameLittleEndianParser.ts.html +265 -0
- package/coverage/lcov-report/src/locales/es/parsers/ESTimeExpressionParser.ts.html +145 -0
- package/coverage/lcov-report/src/locales/es/parsers/ESWeekdayParser.ts.html +235 -0
- package/coverage/lcov-report/src/locales/es/parsers/index.html +176 -0
- package/coverage/lcov-report/src/locales/es/refiners/ESMergeDateRangeRefiner.ts.html +130 -0
- package/coverage/lcov-report/src/locales/es/refiners/ESMergeDateTimeRefiner.ts.html +115 -0
- package/coverage/lcov-report/src/locales/es/refiners/index.html +131 -0
- package/coverage/lcov-report/src/locales/fr/constants.ts.html +16 -16
- package/coverage/lcov-report/src/locales/fr/index.html +1 -1
- package/coverage/lcov-report/src/locales/fr/index.ts.html +31 -31
- package/coverage/lcov-report/src/locales/fr/parsers/FRCasualDateParser.ts.html +7 -7
- package/coverage/lcov-report/src/locales/fr/parsers/FRCasualTimeParser.ts.html +4 -4
- package/coverage/lcov-report/src/locales/fr/parsers/FRMonthNameLittleEndianParser.ts.html +13 -13
- package/coverage/lcov-report/src/locales/fr/parsers/FRSpecificTimeExpressionParser.ts.html +9 -9
- package/coverage/lcov-report/src/locales/fr/parsers/FRTimeExpressionParser.ts.html +3 -3
- package/coverage/lcov-report/src/locales/fr/parsers/FRTimeUnitAgoFormatParser.ts.html +7 -7
- package/coverage/lcov-report/src/locales/fr/parsers/FRTimeUnitRelativeFormatParser.ts.html +8 -8
- package/coverage/lcov-report/src/locales/fr/parsers/FRTimeUnitWithinFormatParser.ts.html +5 -5
- package/coverage/lcov-report/src/locales/fr/parsers/FRWeekdayParser.ts.html +9 -9
- package/coverage/lcov-report/src/locales/fr/parsers/index.html +1 -1
- package/coverage/lcov-report/src/locales/fr/refiners/FRMergeDateRangeRefiner.ts.html +3 -3
- package/coverage/lcov-report/src/locales/fr/refiners/FRMergeDateTimeRefiner.ts.html +3 -3
- package/coverage/lcov-report/src/locales/fr/refiners/index.html +1 -1
- package/coverage/lcov-report/src/locales/ja/constants.ts.html +2 -2
- package/coverage/lcov-report/src/locales/ja/index.html +1 -1
- package/coverage/lcov-report/src/locales/ja/index.ts.html +15 -15
- package/coverage/lcov-report/src/locales/ja/parsers/JPCasualDateParser.ts.html +6 -6
- package/coverage/lcov-report/src/locales/ja/parsers/JPStandardParser.ts.html +12 -12
- package/coverage/lcov-report/src/locales/ja/parsers/index.html +1 -1
- package/coverage/lcov-report/src/locales/ja/refiners/JPMergeDateRangeRefiner.ts.html +3 -3
- package/coverage/lcov-report/src/locales/ja/refiners/index.html +1 -1
- package/coverage/lcov-report/src/locales/nl/constants.ts.html +18 -18
- package/coverage/lcov-report/src/locales/nl/index.html +1 -1
- package/coverage/lcov-report/src/locales/nl/index.ts.html +39 -39
- package/coverage/lcov-report/src/locales/nl/parsers/NLCasualDateParser.ts.html +4 -4
- package/coverage/lcov-report/src/locales/nl/parsers/NLCasualDateTimeParser.ts.html +8 -8
- package/coverage/lcov-report/src/locales/nl/parsers/NLCasualTimeParser.ts.html +8 -8
- package/coverage/lcov-report/src/locales/nl/parsers/NLCasualYearMonthDayParser.ts.html +10 -10
- package/coverage/lcov-report/src/locales/nl/parsers/NLMonthNameMiddleEndianParser.ts.html +13 -13
- package/coverage/lcov-report/src/locales/nl/parsers/NLMonthNameParser.ts.html +10 -10
- package/coverage/lcov-report/src/locales/nl/parsers/NLRelativeDateFormatParser.ts.html +10 -10
- package/coverage/lcov-report/src/locales/nl/parsers/NLSlashMonthFormatParser.ts.html +6 -6
- package/coverage/lcov-report/src/locales/nl/parsers/NLTimeExpressionParser.ts.html +3 -3
- package/coverage/lcov-report/src/locales/nl/parsers/NLTimeUnitAgoFormatParser.ts.html +10 -10
- package/coverage/lcov-report/src/locales/nl/parsers/NLTimeUnitCasualRelativeFormatParser.ts.html +7 -7
- package/coverage/lcov-report/src/locales/nl/parsers/NLTimeUnitLaterFormatParser.ts.html +10 -10
- package/coverage/lcov-report/src/locales/nl/parsers/NLTimeUnitWithinFormatParser.ts.html +5 -5
- package/coverage/lcov-report/src/locales/nl/parsers/NLWeekdayParser.ts.html +10 -10
- package/coverage/lcov-report/src/locales/nl/parsers/index.html +1 -1
- package/coverage/lcov-report/src/locales/nl/refiners/NLMergeDateRangeRefiner.ts.html +3 -3
- package/coverage/lcov-report/src/locales/nl/refiners/NLMergeDateTimeRefiner.ts.html +3 -3
- package/coverage/lcov-report/src/locales/nl/refiners/index.html +1 -1
- package/coverage/lcov-report/src/locales/pt/constants.ts.html +5 -5
- package/coverage/lcov-report/src/locales/pt/index.html +1 -1
- package/coverage/lcov-report/src/locales/pt/index.ts.html +22 -22
- package/coverage/lcov-report/src/locales/pt/parsers/PTCasualDateParser.ts.html +4 -4
- package/coverage/lcov-report/src/locales/pt/parsers/PTCasualTimeParser.ts.html +6 -6
- package/coverage/lcov-report/src/locales/pt/parsers/PTMonthNameLittleEndianParser.ts.html +12 -12
- package/coverage/lcov-report/src/locales/pt/parsers/PTTimeExpressionParser.ts.html +3 -3
- package/coverage/lcov-report/src/locales/pt/parsers/PTWeekdayParser.ts.html +10 -10
- package/coverage/lcov-report/src/locales/pt/parsers/index.html +1 -1
- package/coverage/lcov-report/src/locales/pt/refiners/PTMergeDateRangeRefiner.ts.html +3 -3
- package/coverage/lcov-report/src/locales/pt/refiners/PTMergeDateTimeRefiner.ts.html +3 -3
- package/coverage/lcov-report/src/locales/pt/refiners/index.html +1 -1
- package/coverage/lcov-report/src/locales/ru/constants.ts.html +40 -40
- package/coverage/lcov-report/src/locales/ru/index.html +1 -1
- package/coverage/lcov-report/src/locales/ru/index.ts.html +30 -30
- package/coverage/lcov-report/src/locales/ru/parsers/RUCasualDateParser.ts.html +7 -7
- package/coverage/lcov-report/src/locales/ru/parsers/RUCasualTimeParser.ts.html +9 -9
- package/coverage/lcov-report/src/locales/ru/parsers/RUMonthNameLittleEndianParser.ts.html +14 -14
- package/coverage/lcov-report/src/locales/ru/parsers/RUMonthNameParser.ts.html +11 -11
- package/coverage/lcov-report/src/locales/ru/parsers/RURelativeDateFormatParser.ts.html +11 -11
- package/coverage/lcov-report/src/locales/ru/parsers/RUTimeExpressionParser.ts.html +15 -15
- package/coverage/lcov-report/src/locales/ru/parsers/RUTimeUnitAgoFormatParser.ts.html +8 -8
- package/coverage/lcov-report/src/locales/ru/parsers/RUTimeUnitCasualRelativeFormatParser.ts.html +13 -13
- package/coverage/lcov-report/src/locales/ru/parsers/RUTimeUnitWithinFormatParser.ts.html +9 -9
- package/coverage/lcov-report/src/locales/ru/parsers/RUWeekdayParser.ts.html +11 -11
- package/coverage/lcov-report/src/locales/ru/parsers/index.html +1 -1
- package/coverage/lcov-report/src/locales/ru/refiners/RUMergeDateRangeRefiner.ts.html +3 -3
- package/coverage/lcov-report/src/locales/ru/refiners/RUMergeDateTimeRefiner.ts.html +4 -4
- package/coverage/lcov-report/src/locales/ru/refiners/index.html +1 -1
- package/coverage/lcov-report/src/locales/zh/hans/constants.ts.html +5 -5
- package/coverage/lcov-report/src/locales/zh/hans/index.html +1 -1
- package/coverage/lcov-report/src/locales/zh/hans/index.ts.html +26 -26
- package/coverage/lcov-report/src/locales/zh/hans/parsers/ZHHansCasualDateParser.ts.html +10 -10
- package/coverage/lcov-report/src/locales/zh/hans/parsers/ZHHansDateParser.ts.html +8 -8
- package/coverage/lcov-report/src/locales/zh/hans/parsers/ZHHansDeadlineFormatParser.ts.html +8 -8
- package/coverage/lcov-report/src/locales/zh/hans/parsers/ZHHansRelationWeekdayParser.ts.html +6 -6
- package/coverage/lcov-report/src/locales/zh/hans/parsers/ZHHansTimeExpressionParser.ts.html +16 -16
- package/coverage/lcov-report/src/locales/zh/hans/parsers/ZHHansWeekdayParser.ts.html +17 -17
- package/coverage/lcov-report/src/locales/zh/hans/parsers/index.html +15 -15
- package/coverage/lcov-report/src/locales/zh/hans/refiners/ZHHansMergeDateRangeRefiner.ts.html +3 -3
- package/coverage/lcov-report/src/locales/zh/hans/refiners/ZHHansMergeDateTimeRefiner.ts.html +3 -3
- package/coverage/lcov-report/src/locales/zh/hans/refiners/index.html +1 -1
- package/coverage/lcov-report/src/locales/zh/hant/constants.ts.html +5 -5
- package/coverage/lcov-report/src/locales/zh/hant/index.html +1 -1
- package/coverage/lcov-report/src/locales/zh/hant/index.ts.html +26 -26
- package/coverage/lcov-report/src/locales/zh/hant/parsers/ZHHantCasualDateParser.ts.html +10 -10
- package/coverage/lcov-report/src/locales/zh/hant/parsers/ZHHantDateParser.ts.html +8 -8
- package/coverage/lcov-report/src/locales/zh/hant/parsers/ZHHantDeadlineFormatParser.ts.html +8 -8
- package/coverage/lcov-report/src/locales/zh/hant/parsers/ZHHantRelationWeekdayParser.ts.html +6 -6
- package/coverage/lcov-report/src/locales/zh/hant/parsers/ZHHantTimeExpressionParser.ts.html +16 -16
- package/coverage/lcov-report/src/locales/zh/hant/parsers/ZHHantWeekdayParser.ts.html +17 -17
- package/coverage/lcov-report/src/locales/zh/hant/parsers/index.html +15 -15
- package/coverage/lcov-report/src/locales/zh/hant/refiners/ZHHantMergeDateRangeRefiner.ts.html +3 -3
- package/coverage/lcov-report/src/locales/zh/hant/refiners/ZHHantMergeDateTimeRefiner.ts.html +3 -3
- package/coverage/lcov-report/src/locales/zh/hant/refiners/index.html +1 -1
- package/coverage/lcov-report/src/locales/zh/index.html +1 -1
- package/coverage/lcov-report/src/locales/zh/index.ts.html +3 -3
- package/coverage/lcov-report/src/results.ts.html +103 -103
- package/coverage/lcov-report/src/timezone.ts.html +3 -3
- package/coverage/lcov-report/src/utils/dayjs.ts.html +28 -28
- package/coverage/lcov-report/src/utils/index.html +1 -1
- package/coverage/lcov-report/src/utils/pattern.ts.html +13 -13
- package/coverage/lcov-report/src/utils/timeunits.ts.html +17 -17
- package/coverage/lcov-report/test/index.html +1 -1
- package/coverage/lcov-report/test/test_util.ts.html +34 -34
- package/coverage/lcov.info +2675 -2376
- package/dist/common/casualReferences.d.ts +1 -0
- package/dist/common/casualReferences.js +23 -2
- package/dist/common/casualReferences.js.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/locales/en/constants.js +6 -0
- package/dist/locales/en/constants.js.map +1 -1
- package/dist/locales/en/parsers/ENCasualTimeParser.js +27 -26
- package/dist/locales/en/parsers/ENCasualTimeParser.js.map +1 -1
- package/dist/locales/es/constants.d.ts +8 -0
- package/dist/locales/es/constants.js +84 -0
- package/dist/locales/es/constants.js.map +1 -0
- package/dist/locales/es/index.d.ts +8 -0
- package/dist/locales/es/index.js +46 -0
- package/dist/locales/es/index.js.map +1 -0
- package/dist/locales/es/parsers/ESCasualDateParser.d.ts +7 -0
- package/dist/locales/es/parsers/ESCasualDateParser.js +45 -0
- package/dist/locales/es/parsers/ESCasualDateParser.js.map +1 -0
- package/dist/locales/es/parsers/ESCasualTimeParser.d.ts +6 -0
- package/dist/locales/es/parsers/ESCasualTimeParser.js +46 -0
- package/dist/locales/es/parsers/ESCasualTimeParser.js.map +1 -0
- package/dist/locales/es/parsers/ESMonthNameLittleEndianParser.d.ts +7 -0
- package/dist/locales/es/parsers/ESMonthNameLittleEndianParser.js +49 -0
- package/dist/locales/es/parsers/ESMonthNameLittleEndianParser.js.map +1 -0
- package/dist/locales/es/parsers/ESTimeExpressionParser.d.ts +5 -0
- package/dist/locales/es/parsers/ESTimeExpressionParser.js +13 -0
- package/dist/locales/es/parsers/ESTimeExpressionParser.js.map +1 -0
- package/dist/locales/es/parsers/ESWeekdayParser.d.ts +7 -0
- package/dist/locales/es/parsers/ESWeekdayParser.js +44 -0
- package/dist/locales/es/parsers/ESWeekdayParser.js.map +1 -0
- package/dist/locales/es/refiners/ESMergeDateRangeRefiner.d.ts +4 -0
- package/dist/locales/es/refiners/ESMergeDateRangeRefiner.js +13 -0
- package/dist/locales/es/refiners/ESMergeDateRangeRefiner.js.map +1 -0
- package/dist/locales/es/refiners/ESMergeDateTimeRefiner.d.ts +4 -0
- package/dist/locales/es/refiners/ESMergeDateTimeRefiner.js +13 -0
- package/dist/locales/es/refiners/ESMergeDateTimeRefiner.js.map +1 -0
- package/dist/locales/ru/parsers/RUTimeUnitCasualRelativeFormatParser.js +1 -1
- package/dist/locales/ru/parsers/RUTimeUnitCasualRelativeFormatParser.js.map +1 -1
- package/package.json +1 -1
- package/src/common/casualReferences.ts +31 -2
- package/src/index.ts +2 -1
- package/src/locales/en/constants.ts +6 -0
- package/src/locales/en/parsers/ENCasualTimeParser.ts +9 -32
- package/src/locales/es/constants.ts +85 -0
- package/src/locales/es/index.ts +57 -0
- package/src/locales/es/parsers/ESCasualDateParser.ts +31 -0
- package/src/locales/es/parsers/ESCasualTimeParser.ts +47 -0
- package/src/locales/es/parsers/ESMonthNameLittleEndianParser.ts +60 -0
- package/src/locales/es/parsers/ESTimeExpressionParser.ts +20 -0
- package/src/locales/es/parsers/ESWeekdayParser.ts +50 -0
- package/src/locales/es/refiners/ESMergeDateRangeRefiner.ts +15 -0
- package/src/locales/es/refiners/ESMergeDateTimeRefiner.ts +10 -0
- package/src/locales/ru/parsers/RUTimeUnitCasualRelativeFormatParser.ts +1 -1
- package/src/locales/ru/refiners/RUMergeDateTimeRefiner.ts +1 -1
- package/test/en/en_casual.test.ts +27 -4
- package/test/en/en_time_units_ago.test.ts +17 -0
- package/test/en/en_time_units_later.test.ts +30 -0
- package/test/es/es_casual.test.ts +175 -0
- package/test/es/es_month_name_little_endian.test.ts +217 -0
- package/test/es/es_slash.test.ts +26 -0
- package/test/es/es_time_exp.test.ts +175 -0
- package/test/ru/ru_time_units_casual_relative.test.ts +12 -0
There are too many changes on this page to be displayed.
The amount of changes on this page would crash your brower.
You can still verify the content by downloading the package file manually.