luxon
                                
                                
                                
                                    luxon copied to clipboard
                            
                            
                            
                        ⏱ A library for working with dates and times in JS
_This is part of a series of PRs based on performance work we have done to improve a use-case involving parsing/formatting hundreds of thousands of dates where luxon was the...
In our app, the start day of week is a configurable property of an entity in our data model. When working with data related to that entity, we show calendar...
**Is your feature request related to a problem? Please describe.** With `@types/luxon` in version `3.3.0` it checks if the DateTime may be invalid, forcing to check if the result isn't...
Had to look at the sources to get an idea of what the IANA zones and the UTC zones are really doing. Maybe this helps.
**Describe the bug** Settings.defaultWeekSettings has no effect at all, the weeks are starting still at Sunday **To Reproduce** Settings.defaultLocale = 'de-CH' Settings.defaultWeekSettings = { firstDay: 1, minimalDays: 1, weekend: [6,...
especially when using Duration#diff or Duration#shiftTo
**Describe the bug** Correct me if I'm wrong, but shouldn't this return an invalid DateTime? ```typescript luxon.DateTime.fromFormat('11-08-2023 15:00 AM', 'MM-dd-yyyy hh:mm a').toString() // '2023-11-08T15:00:00.000-06:00' ``` **To Reproduce** Just go to...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.2 to 1.15.4. Commits 6585820 Release version 1.15.4 of the npm package. 7a6567e Disallow bracketed hostnames. 05629af Prefer native URL instead of deprecated url.parse. 1cba8e8 Prefer native...
I'm opening this bug for tracking purposes, Currently the week year format (`iiii`) can be wrong on firefox because it doesn't support [`getWeekInfo`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getWeekInfo) and Luxon uses the following fallback (which...
This is a fix for the case where the input **'11-08-2023 15:00 AM'** is parsed and interpreted as **'11-08-2023 03:00 PM'**. Instead of this, it should be a Datetime.Invalid with...