How to correctly handle “/Date(…-0700)/” date format from Bing using Moment?
问题 I'm using the Bing Routes API, and it's returning dates in this kind of format: /Date(1538245980000-0700)/ It looks like Unix timestamp in milliseconds, followed by a timezone. The Moment docs claim to be able to handle these correctly, but they also say that Unix timestamps and Date objects refer to specific points in time, thus it doesn't make sense to use the time zone offset when constructing. Based on other context (it's the time a bus leaves Stawell, a few hours from Melbourne, on