-
-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to handle different timezones in nodejs #20
Comments
you might have a look at: https://momentjs.com/timezone/ |
And further you might look at formatjs website - as i18next-icu used that |
Using momentjs or formatjs would imply I not use this module at all, right?
|
using momentjs yes formatjs -> this module is based on the formatjs implementation |
And formatjs uses Intl.DateTimeFormat as I see it but its options are not exposed in i18next-icu. I can only set:
However, this is a static config, I cannot change it on a call by call basis. |
Like said...it replaces the format used by i18next with the one from formatjs -> there is no mix |
Hi, I am trying to use this module in nodejs to send emails to different customers. Each customer can have a different language and/or timezone. Do you have any examples on how to set the timezone per call? All i have now is this
The text was updated successfully, but these errors were encountered: