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
Convert to tz keeping wall time #440
Comments
+1. I was just looking for a way to do this. Unfortunate that it's not already implemented. Is there a recommended way of doing this for the time being without that feature? |
Probably the simplest workaround is: var b = moment.tz(a.toArray(), "America/New_York"); The real implementation would be similar to this. |
Is this appropriate for beginners? If so i would love to take on this issue! @mj1856 |
@infinityl00p - Yes, we accept PRs from all levels of developers. |
Hey, I am a beginner and I wish to contribute. Can I get assigned for this? |
Looks like it was already completed in #505. It will be out in the next release. Thanks. |
holy shit, this is all i ever wanted moment-timezone to do.... and the package has existed for years without this functionality 🤦♂️ |
The
moment.utcOffset
function has an optional boolean parameter to keep the local wall time.However, this flag is not available on the
moment.tz
function. It should work similarly, as follows:The text was updated successfully, but these errors were encountered: