-
Notifications
You must be signed in to change notification settings - Fork 68
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
27/1/1400 can be interpereted different in different time zones #123
Comments
I don't know there is a work around for this or not, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
consider two different time zones and bellow code:
moment.from("1401/01/27", "fa", "YYYY-MM-DD")
based on the time we are in the day and time zone, this code can provide different answers (different epoch because of different time zone)
how can I get the result JUST in "+04:30"?
it seems that there is no timezone conversion provided for "moment.from" function.
for example I can use
moment(x).utcOffset("+04:30")
and it will show time in my preferred time zone but this can't be done before converting times usingmoment.from
The text was updated successfully, but these errors were encountered: