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.
Files changed (253) hide show
  1. package/.idea/workspace.xml +36 -29
  2. package/coverage/clover.xml +2036 -1854
  3. package/coverage/coverage-final.json +146 -137
  4. package/coverage/lcov-report/index.html +89 -44
  5. package/coverage/lcov-report/src/calculation/index.html +1 -1
  6. package/coverage/lcov-report/src/calculation/mergingCalculation.ts.html +35 -35
  7. package/coverage/lcov-report/src/calculation/years.ts.html +17 -17
  8. package/coverage/lcov-report/src/chrono.ts.html +57 -57
  9. package/coverage/lcov-report/src/common/abstractRefiners.ts.html +23 -23
  10. package/coverage/lcov-report/src/common/calculation/index.html +1 -1
  11. package/coverage/lcov-report/src/common/calculation/weekdays.ts.html +31 -31
  12. package/coverage/lcov-report/src/common/casualReferences.ts.html +145 -58
  13. package/coverage/lcov-report/src/common/index.html +12 -12
  14. package/coverage/lcov-report/src/common/parsers/AbstractParserWithWordBoundary.ts.html +17 -17
  15. package/coverage/lcov-report/src/common/parsers/AbstractTimeExpressionParser.ts.html +155 -155
  16. package/coverage/lcov-report/src/common/parsers/ISOFormatParser.ts.html +14 -14
  17. package/coverage/lcov-report/src/common/parsers/SlashDateFormatParser.ts.html +36 -36
  18. package/coverage/lcov-report/src/common/parsers/index.html +1 -1
  19. package/coverage/lcov-report/src/common/refiners/AbstractMergeDateRangeRefiner.ts.html +18 -18
  20. package/coverage/lcov-report/src/common/refiners/AbstractMergeDateTimeRefiner.ts.html +9 -9
  21. package/coverage/lcov-report/src/common/refiners/ExtractTimezoneAbbrRefiner.ts.html +16 -16
  22. package/coverage/lcov-report/src/common/refiners/ExtractTimezoneOffsetRefiner.ts.html +14 -14
  23. package/coverage/lcov-report/src/common/refiners/ForwardDateRefiner.ts.html +14 -14
  24. package/coverage/lcov-report/src/common/refiners/MergeWeekdayComponentRefiner.ts.html +11 -11
  25. package/coverage/lcov-report/src/common/refiners/OverlapRemovalRefiner.ts.html +16 -16
  26. package/coverage/lcov-report/src/common/refiners/UnlikelyFormatFilter.ts.html +12 -12
  27. package/coverage/lcov-report/src/common/refiners/index.html +1 -1
  28. package/coverage/lcov-report/src/configurations.ts.html +18 -18
  29. package/coverage/lcov-report/src/debugging.ts.html +4 -4
  30. package/coverage/lcov-report/src/index.html +7 -7
  31. package/coverage/lcov-report/src/index.ts.html +35 -32
  32. package/coverage/lcov-report/src/locales/de/constants.ts.html +15 -15
  33. package/coverage/lcov-report/src/locales/de/index.html +1 -1
  34. package/coverage/lcov-report/src/locales/de/index.ts.html +30 -30
  35. package/coverage/lcov-report/src/locales/de/parsers/DECasualDateParser.ts.html +10 -10
  36. package/coverage/lcov-report/src/locales/de/parsers/DECasualTimeParser.ts.html +7 -7
  37. package/coverage/lcov-report/src/locales/de/parsers/DEMonthNameLittleEndianParser.ts.html +12 -12
  38. package/coverage/lcov-report/src/locales/de/parsers/DESpecificTimeExpressionParser.ts.html +9 -9
  39. package/coverage/lcov-report/src/locales/de/parsers/DETimeExpressionParser.ts.html +3 -3
  40. package/coverage/lcov-report/src/locales/de/parsers/DETimeUnitRelativeFormatParser.ts.html +8 -8
  41. package/coverage/lcov-report/src/locales/de/parsers/DEWeekdayParser.ts.html +10 -10
  42. package/coverage/lcov-report/src/locales/de/parsers/index.html +1 -1
  43. package/coverage/lcov-report/src/locales/de/refiners/DEMergeDateRangeRefiner.ts.html +3 -3
  44. package/coverage/lcov-report/src/locales/de/refiners/DEMergeDateTimeRefiner.ts.html +3 -3
  45. package/coverage/lcov-report/src/locales/de/refiners/index.html +1 -1
  46. package/coverage/lcov-report/src/locales/en/constants.ts.html +57 -39
  47. package/coverage/lcov-report/src/locales/en/index.html +1 -1
  48. package/coverage/lcov-report/src/locales/en/index.ts.html +36 -36
  49. package/coverage/lcov-report/src/locales/en/parsers/ENCasualDateParser.ts.html +8 -8
  50. package/coverage/lcov-report/src/locales/en/parsers/ENCasualTimeParser.ts.html +24 -93
  51. package/coverage/lcov-report/src/locales/en/parsers/ENCasualYearMonthDayParser.ts.html +11 -11
  52. package/coverage/lcov-report/src/locales/en/parsers/ENMonthNameLittleEndianParser.ts.html +14 -14
  53. package/coverage/lcov-report/src/locales/en/parsers/ENMonthNameMiddleEndianParser.ts.html +14 -14
  54. package/coverage/lcov-report/src/locales/en/parsers/ENMonthNameParser.ts.html +12 -12
  55. package/coverage/lcov-report/src/locales/en/parsers/ENRelativeDateFormatParser.ts.html +11 -11
  56. package/coverage/lcov-report/src/locales/en/parsers/ENSlashMonthFormatParser.ts.html +7 -7
  57. package/coverage/lcov-report/src/locales/en/parsers/ENTimeExpressionParser.ts.html +14 -14
  58. package/coverage/lcov-report/src/locales/en/parsers/ENTimeUnitAgoFormatParser.ts.html +14 -14
  59. package/coverage/lcov-report/src/locales/en/parsers/ENTimeUnitCasualRelativeFormatParser.ts.html +8 -8
  60. package/coverage/lcov-report/src/locales/en/parsers/ENTimeUnitLaterFormatParser.ts.html +13 -13
  61. package/coverage/lcov-report/src/locales/en/parsers/ENTimeUnitWithinFormatParser.ts.html +10 -10
  62. package/coverage/lcov-report/src/locales/en/parsers/ENWeekdayParser.ts.html +11 -11
  63. package/coverage/lcov-report/src/locales/en/parsers/index.html +14 -14
  64. package/coverage/lcov-report/src/locales/en/refiners/ENMergeDateRangeRefiner.ts.html +3 -3
  65. package/coverage/lcov-report/src/locales/en/refiners/ENMergeDateTimeRefiner.ts.html +3 -3
  66. package/coverage/lcov-report/src/locales/en/refiners/ENMergeRelativeDateRefiner.ts.html +6 -6
  67. package/coverage/lcov-report/src/locales/en/refiners/index.html +1 -1
  68. package/coverage/lcov-report/src/locales/es/constants.ts.html +340 -0
  69. package/coverage/lcov-report/src/locales/es/index.html +131 -0
  70. package/coverage/lcov-report/src/locales/es/index.ts.html +256 -0
  71. package/coverage/lcov-report/src/locales/es/parsers/ESCasualDateParser.ts.html +178 -0
  72. package/coverage/lcov-report/src/locales/es/parsers/ESCasualTimeParser.ts.html +226 -0
  73. package/coverage/lcov-report/src/locales/es/parsers/ESMonthNameLittleEndianParser.ts.html +265 -0
  74. package/coverage/lcov-report/src/locales/es/parsers/ESTimeExpressionParser.ts.html +145 -0
  75. package/coverage/lcov-report/src/locales/es/parsers/ESWeekdayParser.ts.html +235 -0
  76. package/coverage/lcov-report/src/locales/es/parsers/index.html +176 -0
  77. package/coverage/lcov-report/src/locales/es/refiners/ESMergeDateRangeRefiner.ts.html +130 -0
  78. package/coverage/lcov-report/src/locales/es/refiners/ESMergeDateTimeRefiner.ts.html +115 -0
  79. package/coverage/lcov-report/src/locales/es/refiners/index.html +131 -0
  80. package/coverage/lcov-report/src/locales/fr/constants.ts.html +16 -16
  81. package/coverage/lcov-report/src/locales/fr/index.html +1 -1
  82. package/coverage/lcov-report/src/locales/fr/index.ts.html +31 -31
  83. package/coverage/lcov-report/src/locales/fr/parsers/FRCasualDateParser.ts.html +7 -7
  84. package/coverage/lcov-report/src/locales/fr/parsers/FRCasualTimeParser.ts.html +4 -4
  85. package/coverage/lcov-report/src/locales/fr/parsers/FRMonthNameLittleEndianParser.ts.html +13 -13
  86. package/coverage/lcov-report/src/locales/fr/parsers/FRSpecificTimeExpressionParser.ts.html +9 -9
  87. package/coverage/lcov-report/src/locales/fr/parsers/FRTimeExpressionParser.ts.html +3 -3
  88. package/coverage/lcov-report/src/locales/fr/parsers/FRTimeUnitAgoFormatParser.ts.html +7 -7
  89. package/coverage/lcov-report/src/locales/fr/parsers/FRTimeUnitRelativeFormatParser.ts.html +8 -8
  90. package/coverage/lcov-report/src/locales/fr/parsers/FRTimeUnitWithinFormatParser.ts.html +5 -5
  91. package/coverage/lcov-report/src/locales/fr/parsers/FRWeekdayParser.ts.html +9 -9
  92. package/coverage/lcov-report/src/locales/fr/parsers/index.html +1 -1
  93. package/coverage/lcov-report/src/locales/fr/refiners/FRMergeDateRangeRefiner.ts.html +3 -3
  94. package/coverage/lcov-report/src/locales/fr/refiners/FRMergeDateTimeRefiner.ts.html +3 -3
  95. package/coverage/lcov-report/src/locales/fr/refiners/index.html +1 -1
  96. package/coverage/lcov-report/src/locales/ja/constants.ts.html +2 -2
  97. package/coverage/lcov-report/src/locales/ja/index.html +1 -1
  98. package/coverage/lcov-report/src/locales/ja/index.ts.html +15 -15
  99. package/coverage/lcov-report/src/locales/ja/parsers/JPCasualDateParser.ts.html +6 -6
  100. package/coverage/lcov-report/src/locales/ja/parsers/JPStandardParser.ts.html +12 -12
  101. package/coverage/lcov-report/src/locales/ja/parsers/index.html +1 -1
  102. package/coverage/lcov-report/src/locales/ja/refiners/JPMergeDateRangeRefiner.ts.html +3 -3
  103. package/coverage/lcov-report/src/locales/ja/refiners/index.html +1 -1
  104. package/coverage/lcov-report/src/locales/nl/constants.ts.html +18 -18
  105. package/coverage/lcov-report/src/locales/nl/index.html +1 -1
  106. package/coverage/lcov-report/src/locales/nl/index.ts.html +39 -39
  107. package/coverage/lcov-report/src/locales/nl/parsers/NLCasualDateParser.ts.html +4 -4
  108. package/coverage/lcov-report/src/locales/nl/parsers/NLCasualDateTimeParser.ts.html +8 -8
  109. package/coverage/lcov-report/src/locales/nl/parsers/NLCasualTimeParser.ts.html +8 -8
  110. package/coverage/lcov-report/src/locales/nl/parsers/NLCasualYearMonthDayParser.ts.html +10 -10
  111. package/coverage/lcov-report/src/locales/nl/parsers/NLMonthNameMiddleEndianParser.ts.html +13 -13
  112. package/coverage/lcov-report/src/locales/nl/parsers/NLMonthNameParser.ts.html +10 -10
  113. package/coverage/lcov-report/src/locales/nl/parsers/NLRelativeDateFormatParser.ts.html +10 -10
  114. package/coverage/lcov-report/src/locales/nl/parsers/NLSlashMonthFormatParser.ts.html +6 -6
  115. package/coverage/lcov-report/src/locales/nl/parsers/NLTimeExpressionParser.ts.html +3 -3
  116. package/coverage/lcov-report/src/locales/nl/parsers/NLTimeUnitAgoFormatParser.ts.html +10 -10
  117. package/coverage/lcov-report/src/locales/nl/parsers/NLTimeUnitCasualRelativeFormatParser.ts.html +7 -7
  118. package/coverage/lcov-report/src/locales/nl/parsers/NLTimeUnitLaterFormatParser.ts.html +10 -10
  119. package/coverage/lcov-report/src/locales/nl/parsers/NLTimeUnitWithinFormatParser.ts.html +5 -5
  120. package/coverage/lcov-report/src/locales/nl/parsers/NLWeekdayParser.ts.html +10 -10
  121. package/coverage/lcov-report/src/locales/nl/parsers/index.html +1 -1
  122. package/coverage/lcov-report/src/locales/nl/refiners/NLMergeDateRangeRefiner.ts.html +3 -3
  123. package/coverage/lcov-report/src/locales/nl/refiners/NLMergeDateTimeRefiner.ts.html +3 -3
  124. package/coverage/lcov-report/src/locales/nl/refiners/index.html +1 -1
  125. package/coverage/lcov-report/src/locales/pt/constants.ts.html +5 -5
  126. package/coverage/lcov-report/src/locales/pt/index.html +1 -1
  127. package/coverage/lcov-report/src/locales/pt/index.ts.html +22 -22
  128. package/coverage/lcov-report/src/locales/pt/parsers/PTCasualDateParser.ts.html +4 -4
  129. package/coverage/lcov-report/src/locales/pt/parsers/PTCasualTimeParser.ts.html +6 -6
  130. package/coverage/lcov-report/src/locales/pt/parsers/PTMonthNameLittleEndianParser.ts.html +12 -12
  131. package/coverage/lcov-report/src/locales/pt/parsers/PTTimeExpressionParser.ts.html +3 -3
  132. package/coverage/lcov-report/src/locales/pt/parsers/PTWeekdayParser.ts.html +10 -10
  133. package/coverage/lcov-report/src/locales/pt/parsers/index.html +1 -1
  134. package/coverage/lcov-report/src/locales/pt/refiners/PTMergeDateRangeRefiner.ts.html +3 -3
  135. package/coverage/lcov-report/src/locales/pt/refiners/PTMergeDateTimeRefiner.ts.html +3 -3
  136. package/coverage/lcov-report/src/locales/pt/refiners/index.html +1 -1
  137. package/coverage/lcov-report/src/locales/ru/constants.ts.html +40 -40
  138. package/coverage/lcov-report/src/locales/ru/index.html +1 -1
  139. package/coverage/lcov-report/src/locales/ru/index.ts.html +30 -30
  140. package/coverage/lcov-report/src/locales/ru/parsers/RUCasualDateParser.ts.html +7 -7
  141. package/coverage/lcov-report/src/locales/ru/parsers/RUCasualTimeParser.ts.html +9 -9
  142. package/coverage/lcov-report/src/locales/ru/parsers/RUMonthNameLittleEndianParser.ts.html +14 -14
  143. package/coverage/lcov-report/src/locales/ru/parsers/RUMonthNameParser.ts.html +11 -11
  144. package/coverage/lcov-report/src/locales/ru/parsers/RURelativeDateFormatParser.ts.html +11 -11
  145. package/coverage/lcov-report/src/locales/ru/parsers/RUTimeExpressionParser.ts.html +15 -15
  146. package/coverage/lcov-report/src/locales/ru/parsers/RUTimeUnitAgoFormatParser.ts.html +8 -8
  147. package/coverage/lcov-report/src/locales/ru/parsers/RUTimeUnitCasualRelativeFormatParser.ts.html +13 -13
  148. package/coverage/lcov-report/src/locales/ru/parsers/RUTimeUnitWithinFormatParser.ts.html +9 -9
  149. package/coverage/lcov-report/src/locales/ru/parsers/RUWeekdayParser.ts.html +11 -11
  150. package/coverage/lcov-report/src/locales/ru/parsers/index.html +1 -1
  151. package/coverage/lcov-report/src/locales/ru/refiners/RUMergeDateRangeRefiner.ts.html +3 -3
  152. package/coverage/lcov-report/src/locales/ru/refiners/RUMergeDateTimeRefiner.ts.html +4 -4
  153. package/coverage/lcov-report/src/locales/ru/refiners/index.html +1 -1
  154. package/coverage/lcov-report/src/locales/zh/hans/constants.ts.html +5 -5
  155. package/coverage/lcov-report/src/locales/zh/hans/index.html +1 -1
  156. package/coverage/lcov-report/src/locales/zh/hans/index.ts.html +26 -26
  157. package/coverage/lcov-report/src/locales/zh/hans/parsers/ZHHansCasualDateParser.ts.html +10 -10
  158. package/coverage/lcov-report/src/locales/zh/hans/parsers/ZHHansDateParser.ts.html +8 -8
  159. package/coverage/lcov-report/src/locales/zh/hans/parsers/ZHHansDeadlineFormatParser.ts.html +8 -8
  160. package/coverage/lcov-report/src/locales/zh/hans/parsers/ZHHansRelationWeekdayParser.ts.html +6 -6
  161. package/coverage/lcov-report/src/locales/zh/hans/parsers/ZHHansTimeExpressionParser.ts.html +16 -16
  162. package/coverage/lcov-report/src/locales/zh/hans/parsers/ZHHansWeekdayParser.ts.html +17 -17
  163. package/coverage/lcov-report/src/locales/zh/hans/parsers/index.html +15 -15
  164. package/coverage/lcov-report/src/locales/zh/hans/refiners/ZHHansMergeDateRangeRefiner.ts.html +3 -3
  165. package/coverage/lcov-report/src/locales/zh/hans/refiners/ZHHansMergeDateTimeRefiner.ts.html +3 -3
  166. package/coverage/lcov-report/src/locales/zh/hans/refiners/index.html +1 -1
  167. package/coverage/lcov-report/src/locales/zh/hant/constants.ts.html +5 -5
  168. package/coverage/lcov-report/src/locales/zh/hant/index.html +1 -1
  169. package/coverage/lcov-report/src/locales/zh/hant/index.ts.html +26 -26
  170. package/coverage/lcov-report/src/locales/zh/hant/parsers/ZHHantCasualDateParser.ts.html +10 -10
  171. package/coverage/lcov-report/src/locales/zh/hant/parsers/ZHHantDateParser.ts.html +8 -8
  172. package/coverage/lcov-report/src/locales/zh/hant/parsers/ZHHantDeadlineFormatParser.ts.html +8 -8
  173. package/coverage/lcov-report/src/locales/zh/hant/parsers/ZHHantRelationWeekdayParser.ts.html +6 -6
  174. package/coverage/lcov-report/src/locales/zh/hant/parsers/ZHHantTimeExpressionParser.ts.html +16 -16
  175. package/coverage/lcov-report/src/locales/zh/hant/parsers/ZHHantWeekdayParser.ts.html +17 -17
  176. package/coverage/lcov-report/src/locales/zh/hant/parsers/index.html +15 -15
  177. package/coverage/lcov-report/src/locales/zh/hant/refiners/ZHHantMergeDateRangeRefiner.ts.html +3 -3
  178. package/coverage/lcov-report/src/locales/zh/hant/refiners/ZHHantMergeDateTimeRefiner.ts.html +3 -3
  179. package/coverage/lcov-report/src/locales/zh/hant/refiners/index.html +1 -1
  180. package/coverage/lcov-report/src/locales/zh/index.html +1 -1
  181. package/coverage/lcov-report/src/locales/zh/index.ts.html +3 -3
  182. package/coverage/lcov-report/src/results.ts.html +103 -103
  183. package/coverage/lcov-report/src/timezone.ts.html +3 -3
  184. package/coverage/lcov-report/src/utils/dayjs.ts.html +28 -28
  185. package/coverage/lcov-report/src/utils/index.html +1 -1
  186. package/coverage/lcov-report/src/utils/pattern.ts.html +13 -13
  187. package/coverage/lcov-report/src/utils/timeunits.ts.html +17 -17
  188. package/coverage/lcov-report/test/index.html +1 -1
  189. package/coverage/lcov-report/test/test_util.ts.html +34 -34
  190. package/coverage/lcov.info +2675 -2376
  191. package/dist/common/casualReferences.d.ts +1 -0
  192. package/dist/common/casualReferences.js +23 -2
  193. package/dist/common/casualReferences.js.map +1 -1
  194. package/dist/index.d.ts +2 -1
  195. package/dist/index.js +3 -1
  196. package/dist/index.js.map +1 -1
  197. package/dist/locales/en/constants.js +6 -0
  198. package/dist/locales/en/constants.js.map +1 -1
  199. package/dist/locales/en/parsers/ENCasualTimeParser.js +27 -26
  200. package/dist/locales/en/parsers/ENCasualTimeParser.js.map +1 -1
  201. package/dist/locales/es/constants.d.ts +8 -0
  202. package/dist/locales/es/constants.js +84 -0
  203. package/dist/locales/es/constants.js.map +1 -0
  204. package/dist/locales/es/index.d.ts +8 -0
  205. package/dist/locales/es/index.js +46 -0
  206. package/dist/locales/es/index.js.map +1 -0
  207. package/dist/locales/es/parsers/ESCasualDateParser.d.ts +7 -0
  208. package/dist/locales/es/parsers/ESCasualDateParser.js +45 -0
  209. package/dist/locales/es/parsers/ESCasualDateParser.js.map +1 -0
  210. package/dist/locales/es/parsers/ESCasualTimeParser.d.ts +6 -0
  211. package/dist/locales/es/parsers/ESCasualTimeParser.js +46 -0
  212. package/dist/locales/es/parsers/ESCasualTimeParser.js.map +1 -0
  213. package/dist/locales/es/parsers/ESMonthNameLittleEndianParser.d.ts +7 -0
  214. package/dist/locales/es/parsers/ESMonthNameLittleEndianParser.js +49 -0
  215. package/dist/locales/es/parsers/ESMonthNameLittleEndianParser.js.map +1 -0
  216. package/dist/locales/es/parsers/ESTimeExpressionParser.d.ts +5 -0
  217. package/dist/locales/es/parsers/ESTimeExpressionParser.js +13 -0
  218. package/dist/locales/es/parsers/ESTimeExpressionParser.js.map +1 -0
  219. package/dist/locales/es/parsers/ESWeekdayParser.d.ts +7 -0
  220. package/dist/locales/es/parsers/ESWeekdayParser.js +44 -0
  221. package/dist/locales/es/parsers/ESWeekdayParser.js.map +1 -0
  222. package/dist/locales/es/refiners/ESMergeDateRangeRefiner.d.ts +4 -0
  223. package/dist/locales/es/refiners/ESMergeDateRangeRefiner.js +13 -0
  224. package/dist/locales/es/refiners/ESMergeDateRangeRefiner.js.map +1 -0
  225. package/dist/locales/es/refiners/ESMergeDateTimeRefiner.d.ts +4 -0
  226. package/dist/locales/es/refiners/ESMergeDateTimeRefiner.js +13 -0
  227. package/dist/locales/es/refiners/ESMergeDateTimeRefiner.js.map +1 -0
  228. package/dist/locales/ru/parsers/RUTimeUnitCasualRelativeFormatParser.js +1 -1
  229. package/dist/locales/ru/parsers/RUTimeUnitCasualRelativeFormatParser.js.map +1 -1
  230. package/package.json +1 -1
  231. package/src/common/casualReferences.ts +31 -2
  232. package/src/index.ts +2 -1
  233. package/src/locales/en/constants.ts +6 -0
  234. package/src/locales/en/parsers/ENCasualTimeParser.ts +9 -32
  235. package/src/locales/es/constants.ts +85 -0
  236. package/src/locales/es/index.ts +57 -0
  237. package/src/locales/es/parsers/ESCasualDateParser.ts +31 -0
  238. package/src/locales/es/parsers/ESCasualTimeParser.ts +47 -0
  239. package/src/locales/es/parsers/ESMonthNameLittleEndianParser.ts +60 -0
  240. package/src/locales/es/parsers/ESTimeExpressionParser.ts +20 -0
  241. package/src/locales/es/parsers/ESWeekdayParser.ts +50 -0
  242. package/src/locales/es/refiners/ESMergeDateRangeRefiner.ts +15 -0
  243. package/src/locales/es/refiners/ESMergeDateTimeRefiner.ts +10 -0
  244. package/src/locales/ru/parsers/RUTimeUnitCasualRelativeFormatParser.ts +1 -1
  245. package/src/locales/ru/refiners/RUMergeDateTimeRefiner.ts +1 -1
  246. package/test/en/en_casual.test.ts +27 -4
  247. package/test/en/en_time_units_ago.test.ts +17 -0
  248. package/test/en/en_time_units_later.test.ts +30 -0
  249. package/test/es/es_casual.test.ts +175 -0
  250. package/test/es/es_month_name_little_endian.test.ts +217 -0
  251. package/test/es/es_slash.test.ts +26 -0
  252. package/test/es/es_time_exp.test.ts +175 -0
  253. package/test/ru/ru_time_units_casual_relative.test.ts +12 -0
@@ -9,7 +9,7 @@
9
9
  </component>
10
10
  <component name="ChangeListManager">
11
11
  <list default="true" id="2e0b76bb-7462-4a34-aa1d-16a9ba3798d7" name="Default Changelist" comment="">
12
- <change afterPath="$PROJECT_DIR$/.npmignore" afterDir="false" />
12
+ <change beforePath="$PROJECT_DIR$/test/en/en_weekday.test.ts" beforeDir="false" afterPath="$PROJECT_DIR$/test/en/en_weekday.test.ts" afterDir="false" />
13
13
  </list>
14
14
  <option name="SHOW_DIALOG" value="false" />
15
15
  <option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -81,7 +81,7 @@
81
81
  <recent name="$PROJECT_DIR$/src/locales/zh-hant/hant" />
82
82
  </key>
83
83
  </component>
84
- <component name="RunManager" selected="Jest.Test - Skip impossible dates/times">
84
+ <component name="RunManager" selected="Jest.Test - forward dates only option">
85
85
  <configuration name="All Tests" type="JavaScriptTestRunnerJest" nameIsGenerated="true">
86
86
  <node-interpreter value="project" />
87
87
  <node-options value="" />
@@ -91,63 +91,69 @@
91
91
  <scope-kind value="ALL" />
92
92
  <method v="2" />
93
93
  </configuration>
94
- <configuration name="Test - Skip impossible dates/times" type="JavaScriptTestRunnerJest" temporary="true" nameIsGenerated="true">
94
+ <configuration name="Test - Later Expression" type="JavaScriptTestRunnerJest" temporary="true" nameIsGenerated="true">
95
95
  <node-interpreter value="project" />
96
96
  <node-options value="" />
97
97
  <jest-package value="$PROJECT_DIR$/node_modules/jest" />
98
98
  <working-dir value="$PROJECT_DIR$" />
99
99
  <envs />
100
100
  <scope-kind value="TEST" />
101
- <test-file value="$PROJECT_DIR$/test/en/negative_cases.test.ts" />
101
+ <test-file value="$PROJECT_DIR$/test/en/en_time_units_later.test.ts" />
102
102
  <test-names>
103
- <test-name value="Test - Skip impossible dates/times" />
103
+ <test-name value="Test - Later Expression" />
104
104
  </test-names>
105
105
  <method v="2" />
106
106
  </configuration>
107
- <configuration name="Test - Skip random non-date patterns" type="JavaScriptTestRunnerJest" temporary="true" nameIsGenerated="true">
107
+ <configuration name="Test - Nested time ago" type="JavaScriptTestRunnerJest" temporary="true" nameIsGenerated="true">
108
108
  <node-interpreter value="project" />
109
109
  <node-options value="" />
110
110
  <jest-package value="$PROJECT_DIR$/node_modules/jest" />
111
111
  <working-dir value="$PROJECT_DIR$" />
112
112
  <envs />
113
113
  <scope-kind value="TEST" />
114
- <test-file value="$PROJECT_DIR$/test/en/negative_cases.test.ts" />
114
+ <test-file value="$PROJECT_DIR$/test/en/en_time_units_ago.test.ts" />
115
115
  <test-names>
116
- <test-name value="Test - Skip random non-date patterns" />
116
+ <test-name value="Test - Nested time ago" />
117
117
  </test-names>
118
118
  <method v="2" />
119
119
  </configuration>
120
- <configuration name="Test erroneous values" type="JavaScriptTestRunnerJest" temporary="true" nameIsGenerated="true">
120
+ <configuration name="Test - Single Expression" type="JavaScriptTestRunnerJest" temporary="true" nameIsGenerated="true">
121
121
  <node-interpreter value="project" />
122
122
  <node-options value="" />
123
123
  <jest-package value="$PROJECT_DIR$/node_modules/jest" />
124
124
  <working-dir value="$PROJECT_DIR$" />
125
125
  <envs />
126
126
  <scope-kind value="TEST" />
127
- <test-file value="$PROJECT_DIR$/test/system.test.ts" />
127
+ <test-file value="$PROJECT_DIR$/test/ru/ru_casual.test.ts" />
128
128
  <test-names>
129
- <test-name value="Test erroneous values" />
129
+ <test-name value="Test - Single Expression" />
130
130
  </test-names>
131
131
  <method v="2" />
132
132
  </configuration>
133
- <configuration name="en_time_exp.test.ts" type="JavaScriptTestRunnerJest" temporary="true" nameIsGenerated="true">
133
+ <configuration name="Test - Skip impossible dates/times" type="JavaScriptTestRunnerJest" temporary="true" nameIsGenerated="true">
134
134
  <node-interpreter value="project" />
135
135
  <node-options value="" />
136
136
  <jest-package value="$PROJECT_DIR$/node_modules/jest" />
137
137
  <working-dir value="$PROJECT_DIR$" />
138
138
  <envs />
139
- <scope-kind value="TEST_FILE" />
140
- <test-file value="$PROJECT_DIR$/test/en/en_time_exp.test.ts" />
139
+ <scope-kind value="TEST" />
140
+ <test-file value="$PROJECT_DIR$/test/en/negative_cases.test.ts" />
141
+ <test-names>
142
+ <test-name value="Test - Skip impossible dates/times" />
143
+ </test-names>
141
144
  <method v="2" />
142
145
  </configuration>
143
- <configuration name="negative_cases.test.ts" type="JavaScriptTestRunnerJest" temporary="true" nameIsGenerated="true">
146
+ <configuration name="Test - forward dates only option" type="JavaScriptTestRunnerJest" temporary="true" nameIsGenerated="true">
144
147
  <node-interpreter value="project" />
145
148
  <node-options value="" />
146
149
  <jest-package value="$PROJECT_DIR$/node_modules/jest" />
147
150
  <working-dir value="$PROJECT_DIR$" />
148
151
  <envs />
149
- <scope-kind value="TEST_FILE" />
150
- <test-file value="$PROJECT_DIR$/test/en/negative_cases.test.ts" />
152
+ <scope-kind value="TEST" />
153
+ <test-file value="$PROJECT_DIR$/test/en/en_weekday.test.ts" />
154
+ <test-names>
155
+ <test-name value="Test - forward dates only option" />
156
+ </test-names>
151
157
  <method v="2" />
152
158
  </configuration>
153
159
  <configuration name="benchmark.js" type="NodeJSConfigurationType" nameIsGenerated="true" path-to-js-file="benchmark/benchmark.js" working-dir="$PROJECT_DIR$/">
@@ -158,20 +164,20 @@
158
164
  </configuration>
159
165
  <list>
160
166
  <item itemvalue="Jest.All Tests" />
161
- <item itemvalue="Node.js.benchmark.js" />
162
- <item itemvalue="Jest.Test - Skip random non-date patterns" />
163
- <item itemvalue="Jest.Test erroneous values" />
164
- <item itemvalue="Jest.en_time_exp.test.ts" />
165
- <item itemvalue="Jest.negative_cases.test.ts" />
166
167
  <item itemvalue="Jest.Test - Skip impossible dates/times" />
168
+ <item itemvalue="Jest.Test - Single Expression" />
169
+ <item itemvalue="Node.js.benchmark.js" />
170
+ <item itemvalue="Jest.Test - Nested time ago" />
171
+ <item itemvalue="Jest.Test - Later Expression" />
172
+ <item itemvalue="Jest.Test - forward dates only option" />
167
173
  </list>
168
174
  <recent_temporary>
169
175
  <list>
176
+ <item itemvalue="Jest.Test - forward dates only option" />
177
+ <item itemvalue="Jest.Test - Later Expression" />
178
+ <item itemvalue="Jest.Test - Nested time ago" />
179
+ <item itemvalue="Jest.Test - Single Expression" />
170
180
  <item itemvalue="Jest.Test - Skip impossible dates/times" />
171
- <item itemvalue="Jest.negative_cases.test.ts" />
172
- <item itemvalue="Jest.en_time_exp.test.ts" />
173
- <item itemvalue="Jest.Test erroneous values" />
174
- <item itemvalue="Jest.Test - Skip random non-date patterns" />
175
181
  </list>
176
182
  </recent_temporary>
177
183
  </component>
@@ -273,7 +279,9 @@
273
279
  <workItem from="1661048879110" duration="10416000" />
274
280
  <workItem from="1665279226374" duration="1041000" />
275
281
  <workItem from="1665884284050" duration="2795000" />
276
- <workItem from="1668829159659" duration="6265000" />
282
+ <workItem from="1668829159659" duration="6824000" />
283
+ <workItem from="1670116434256" duration="4043000" />
284
+ <workItem from="1671942898708" duration="1557000" />
277
285
  </task>
278
286
  <servers />
279
287
  </component>
@@ -305,8 +313,7 @@
305
313
  </line-breakpoint>
306
314
  <line-breakpoint enabled="true" type="javascript">
307
315
  <url>file://$PROJECT_DIR$/test/en/en_casual.test.ts</url>
308
- <line>347</line>
309
- <properties lambdaOrdinal="-1" />
316
+ <line>370</line>
310
317
  <option name="timeStamp" value="9" />
311
318
  </line-breakpoint>
312
319
  </breakpoints>