Replies: 1 comment
-
Unless you are importing Luxon multiple times in your applications and therefor end up with multiple |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, we just started migrating our application from using a mix of JS Date and moment to luxon and it looks like the luxon API is going to help us resolve several issues we've been encountering with converting local time zones properly.
So far, in every Angular component's constructor, we start off with:
Settings.defaultZone = "America/New_York";
What I am wondering is if this is the correct approach, or if there is some other way we can configure Settings globally within an Angular application. I spent a fair amount of time searching and haven't found anything yet and feel like I am probably missing something incredibly obvious to do this globally, or at least at a module level, rather than comoponent/service/etc.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions