Commit Graph

121 Commits

Author SHA1 Message Date
kt3k
87e133d49c chore: update versions 2024-09-02 13:55:44 +00: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
denobot
2b3683b6fb
chore: release 2024.08.26 (#5824)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-08-26 17:33:29 +09: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
Asher Gomez
7632ab087f
docs(datetime): add constants to module docs (#5732) 2024-08-20 12:46:32 +09:00
denobot
f7f275bd3b
chore: release 2024.08.16 (#5687)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-08-16 15:33:08 +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
4ec7dd4be9
BREAKING(datetime): replace utc with timeZone option (#5647)
initial commit
2024-08-08 17:55:15 +02:00
denobot
ce02d496a4
chore: release 2024.08.07 (#5650)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-08-07 21:42:08 +09: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
denobot
0e4f294cdf
chore: release 2024.08.02 (#5621)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-08-02 20:27:08 +09:00
Tim Reichen
70f882a28f
chore(datetime): remove console log (#5610) 2024-08-02 07:40:37 +10:00
denobot
f54eab4355
chore: release 2024.07.12 (#5431)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-07-12 19:45:19 +09:00
Asher Gomez
ad1dad6ce6
docs(cli,csv,datetime,fmt,fs,http,ini,semver,testing): assert optional properties on types/interfaces have @default tag (#4933)
* docs: assert optional properties on types/interfaces have `@default` tag

* work

* work

* work

* work

* work

* work

* fix

* fix

* Update fs/expand_glob.ts

* cleanups

* cleanups

---------

Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-07-11 09:21:37 +00:00
denobot
940568c62d
chore: release 2024.07.02 (#5254)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-07-02 20:43:42 +09:00
Asher Gomez
d102a10235
refactor(assert,async,bytes,cli,collections,crypto,csv,data-structures,datetime,dotenv,encoding,expect,fmt,front-matter,fs,html,http,ini,internal,io,json,jsonc,log,media-types,msgpack,net,path,semver,streams,testing,text,toml,ulid,url,uuid,webgpu,yaml): import from @std/assert (#5199)
* refactor: import from `@std/assert`

* update
2024-06-30 08:30:10 +00:00
denobot
0ea4868542
chore: release 2024.06.06 (#4984)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-06-06 20:26:57 +09:00
Asher Gomez
9551516c93
docs(datetime): trim module documentation (#4971) 2024-06-06 07:26:08 +10:00
Asher Gomez
31b906db99
chore: ensure code examples use assertions in Doc Linter (#4911) 2024-06-03 14:10:27 +10:00
Asher Gomez
67ca078107
chore: add @example title check to doc checker (#4823)
* chore: add `@example` title check to doc checker

* fix
2024-05-22 15:08:36 +10:00
Yoshiya Hinosawa
3155f0050a
chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09: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
ac5723de73
chore: JSDoc checker (#4618)
* chore: JSDoc checker

* work

* fix
2024-04-22 07:07:34 +00:00
Asher Gomez
625ebe4318
docs(datetime): polish module documentation (#4569) 2024-04-11 21:31:27 +10:00
Asher Gomez
ca6b06b970
chore(datetime): rename _common.ts to _date_time_formatter.ts (#4522) 2024-03-26 21:54:12 +11:00
Asher Gomez
daba77d8d8
docs(datetime): polish documentation (#4521) 2024-03-26 21:53:58 +11:00
Asher Gomez
749fefe2b6
docs(datetime): add module doc (#4496) 2024-03-16 22:03:18 +00:00
David Luis
2b5149ebda
feat(datetime): format() options (#4285)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-02-09 19:35:14 +09:00
Asher Gomez
14d0488241
docs(datetime): complete documentation (#4167) 2024-01-12 13:37:19 +09:00
Lino Le Van
c46143f0ac
chore: update copyright year (#4046)
* chore: update copyright year

* fix

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-01-02 08:11:32 +11:00
Tim Reichen
026a555608
refactor(datetime): format test names (#4030)
* initial commit

* rereun tests
2023-12-28 14:05:29 +11:00
Tim Reichen
421e9c199b
chore(datetime): remove constants test file (#3998)
initial commit
2023-12-20 17:52:04 +11:00
Tim Reichen
155664c9f8
refactor(datetime): format test names (#3992)
* initial commit

* nit

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-12-19 00:57:06 +00:00
David Sherret
b0803619af
refactor: add some missing explicit types (#3997)
* refactor: add some missing return types and mark some non-exported types as `@internal`

* Update expect/fn.ts

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>

* Remove @internals

* nits

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-12-19 00:26:13 +00:00
Simon Holloway
f712403cb1
feat(testing): enable the using keyword on FakeTime() (#3961)
* feat(testing): enable the "using" keyword on FakeTime

* chore(testing): update all tests with using FakeTime

* chore(testing): formatting fix
2023-12-15 07:47:50 +11:00
Asher Gomez
7d691f4779
BREAKING(datetime): remove toIMF() (#3849) 2023-11-24 19:09:04 +11:00
realpha
830d3878ae
refactor(datetime): replace enum with object (#3836) 2023-11-23 08:42:59 +11:00
Asher Gomez
7d5344d775
docs: improve deprecation notices (#3804) 2023-11-16 05:33:11 +11:00
Yoshiya Hinosawa
c5515cdde3
fix(datetime): fix dayOfYear when the timezone has DST (#3668) 2023-09-26 14:04:05 +09:00
Alexander Reiff
9d92232f78
fix(datetime): correctly format midnight in 12-hour time (#3667) 2023-09-22 14:41:22 +09:00
Lino Le Van
e1e018d55d
BREAKING(datetime): deprecate to_imf.ts (#3633) 2023-09-12 20:17:36 +09:00
Lino Le Van
2b5d71224f
refactor: cleanup usage of double equals (#3566)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2023-08-25 18:04:43 +09:00
Asher Gomez
239e85ad6a
BREAKING(testing, assert): move std/testing/asserts to std/assert (#3445) 2023-07-13 16:04:30 +09:00
familyboat
d1879dd9e9
fix(datetime/day_of_year): respect time zone of date (#3443) 2023-06-14 21:26:29 +09:00
familyboat
575ce31930
docs(datetime/difference): fix error in example (#3441) 2023-06-11 16:33:33 +09:00
Deniz
dc58502778
fix(datetime): negative months, quarters, and years (#3367) 2023-05-08 16:49:54 +09:00
Ryan Clements
13b798f836
feat(datetime): add isUtcLeap (#3295) 2023-04-05 17:09:36 +09:00
Asher Gomez
cf14c9b212
chore(tools): improved web-compatibility checks (#3263) 2023-03-18 21:36:00 +09:00
Asher Gomez
8cf6b45e2c
test(datetime): further test coverage (#3197) 2023-02-20 15:05:32 +09:00