Commit Graph

8 Commits

Author SHA1 Message Date
Asher Gomez
58dbbd6bd2
chore: enable no-console lint rule (#5975) 2024-09-13 15:43:13 +10:00
Ian Bull
3b3a7617ab
refactor(assert,datetime,fmt,io,streams): consistently throw new Error() instead of throw Error() (#5855)
refactor(assert, datetime, fmt, io, streams): use `throw new Error` instead of `throw`

To ensure consistency across the codebase, this commit refactors the
codebase to use `throw new Error` instead of `throw` for throwing
errors.

https://github.com/denoland/std/issues/5854
2024-08-29 08:55:24 +10:00
Ian Bull
70011e9155
refactor(archive,cache,datetime,fmt,front-matter): align error messages to the style guide (#5706)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-08-21 14:42:02 +09:00
Tim Reichen
7edeba4ba7
fix(datetime): handle am / pm variants (#5406)
* initial commit

* update

* update

* Merge branch 'main' into datetime-fix-am/pm-variants

* clean diff

* add pm tests

* remove dead code

* update

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-08-09 11:20:41 +02:00
Tim Reichen
c7a39f0752
refactor(datetime): cleanup DateTimeFormatter and parse() function (#5649)
* initial commit

* update

* fix

* update

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-08-08 18:31:48 +02:00
Tim Reichen
0dae9cec16
refactor(datetime): remove Tokenizer class (#5622)
* initial commit

* update

* update

* update types

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-08-06 16:39:38 +02:00
Michael Herzner
437ed930b1
test(datetime): improve test coverage (#4649)
* test(datetime): improve test coverage

* chore: tweaks

* fix

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-04-28 10:57:58 +10:00
Asher Gomez
ca6b06b970
chore(datetime): rename _common.ts to _date_time_formatter.ts (#4522) 2024-03-26 21:54:12 +11:00