moment / luxon

⏱ A library for working with dates and times in JS
https://moment.github.io/luxon
MIT License
15.23k stars 730 forks source link

Fix: Remove "TTT" from valid parsing tokens #1427

Closed 6ixfalls closed 1 year ago

6ixfalls commented 1 year ago

One-liner change. Spent a while trying to figure out why I couldn't use fromFormat with TTT, and ended up being not supported by the function even though it's in the parsing table of valid tokens, which may be confusing, albeit also already stating that Luxon also doesn't support the "macro" tokens that include offset names, such as "ttt" and "FFFF".

linux-foundation-easycla[bot] commented 1 year ago

CLA Signed

The committers listed above are authorized under a signed CLA.

icambron commented 1 year ago

Ah. sorry about that. Thanks for the fix