Dan Overton

Results 6 comments of Dan Overton

weekdayLong is looking up from hardcoded data, but the Locale create does make it slower. Using the existing loc object from the `DateTime` is roughly twice as quick over 100000...

Managed to reproduce this at [this codesandbox](https://codesandbox.io/s/reverent-faraday-u2hih?file=/src/index.js) (with the system locale being en-GB). `luxon.DateTime.fromFormat('14/02/2021 21:00', 'D T')` is invalid but `luxon.DateTime.fromFormat('14/02/2021 21:00', 'D T', {locale: 'en-GB'})` parses correctly. The issue...

I've managed to get a unit test for this up and running (by moving `systemLocale` to a separate module and mocking it). Flipping `defaultToEN` in `fromFormat` to false makes the...

I think if I was expecting US formatted dates from a backend, I'd expect to have to specify en-US explicitly in `fromFormat`. That is, I'd find having to do that...

This looks to be because when luxon constructs a DateTime, it does so using the default zone. As part of this process it constructs a new Date object, which is...

I had the same issue on an m3 Mac. I think the problem is that the version of chromium it's downloading is expecting to run on intel. Running `softwareupdate --install-rosetta`...