luxon
luxon copied to clipboard
⏱ A library for working with dates and times in JS
**Describe the bug** (Had to re-open #1252) When I'm trying to run my project with webpack and module federation, I'm getting an error: `No version specified and unable to automatically...
It would be nice if Luxon users can transform objects into a describing date, besides the provided object properties. I would suggest a new property in ToHumanDurationOptions interface. Actual behavior:...
`defaultZone` is readonly. Current example leads to "Cannot assign to 'defaultZone' because it is a read-only property.ts (2540)". Change by setting `defaultZoneName` instead.
Hello, first I opened a bug at Material-UI for this issue. As you can see, it seems to be in your responsibility: [MaterialUI-Issues](https://github.com/mui/mui-x/issues/4755) **Describe the bug** I wrapped TimePicker and...
The calendar conversion from gregorian to islamic date is not working. However, islamicc (islamic civil) is working. **To Reproduce** let date1 = DateTime.fromISO('2023-07-17').reconfigure({outputCalendar: "islamic"}) let date2 = DateTime.fromISO('2023-07-18').reconfigure({outputCalendar: "islamic"}) let...
As browsers upgrade to ICU 71, dates and times in `en_US` are combined with `at`, per https://github.com/unicode-org/cldr-json/blob/8d565de3afecd4dc3f82b3bdbc3336e2d588a350/cldr-json/cldr-dates-modern/main/en/ca-gregorian.json#L346-L347, as noted in https://github.com/tc39/ecma402/issues/665. E.g., on the latest versions of Chrome and Firefox,...
As browsers upgrade to ICU 71, dates and times in `en_US` are combined with `at`, per https://github.com/unicode-org/cldr-json/blob/8d565de3afecd4dc3f82b3bdbc3336e2d588a350/cldr-json/cldr-dates-modern/main/en/ca-gregorian.json#L346-L347, as noted in https://github.com/tc39/ecma402/issues/665. E.g., on the latest versions of Chrome and Firefox,...
Based on the name I would expect that `Duration#toHuman` returns strings that are optimal for human reading. But, IMHO this is not the case. The way I see it there...
Every now and then users report that the date coming from my app is empty. **To Reproduce** JobDonePT: any = DateTime.local().setZone("America/Los_Angeles"); run few times with Firfox and some will make...
**Is your feature request related to a problem? Please describe.** In a way. I'm saving a DateTime object into indexDb (or localStorage), so I can use it as a timestamp...