Commit Graph

9 Commits

Author SHA1 Message Date
Tony 0f31bfa8b9
fix(utils): parse relative date with meridiem (#9775)
* fix(utils): parse relative date with meridiem

* fix: use regex
2022-05-17 20:21:47 +08:00
Ethan Shen a25fd4b67f
fix(utils): wrong date with same weekday in parse-date (#9506) 2022-04-10 23:40:35 +08:00
Tony cd151f45ab
fix(utils): parseDate custom format not working 2022-03-28 22:25:40 +08:00
Ethan Shen a3396029ec
fix(utils): wrong last weekday for relative date (#9397) 2022-03-27 23:39:44 +08:00
Ethan Shen e42bdf3d97
fix(utils): typo in parse-date (#9391)
* fix(utils): typo in parse-date

* fix: add `后日`
2022-03-26 19:44:27 +08:00
Ethan Shen d5648b37ee
fix(utils): parse relative dates with multiple time units (#9365)
* fix(utils): parse relative dates with multiple time units

* docs: remove warning

* fix: add more characters to match

* fix: rename to parse-date
2022-03-26 16:45:42 +08:00
Queensferry 65e74a1c5e
chore(utils): `parse-date` supports relative time & fix routes (#7530) 2021-05-14 23:08:33 -04:00
GitHub Action e1b3b5d877 style: auto format 2021-05-08 21:49:05 +00:00
Queensferry 10f5bb7bce
refactor: timezone conversion in `lib/utils/date.js` (#7438) 2021-05-08 17:45:37 -04:00