moment-timezone icon indicating copy to clipboard operation
moment-timezone copied to clipboard

Remove the dependency on the _a and _tzm properties from moment core.

Open timrwood opened this issue 10 years ago • 1 comments

timrwood avatar Aug 03 '14 22:08 timrwood

This might be propagated to bug.

I found that in some situations (a during protractor test in my case), moment construction does not populate the _a property, causing needsOffset to return false. I found that if I make sure to pass a format to moment.tz (thus to moment.utc) it would populate _a in my specific case. Because that resolved my issue I didn't investigate further. I report it here for your consideration.

naturalethic avatar Feb 13 '15 20:02 naturalethic