You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The regex on the above line only parses Z or +hhmm or -hhmm - note the missing : after the last non-capture group ((?:(\d{2}...).
Looks like a simple mistake, but it breaks out of the box normalization of dates on servers with timezones. Let me know if you would like a PR to fix or if there is some context here that I'm missing. In the meantime, we can create our own normalize function to properly create dates out of those strings.
The text was updated successfully, but these errors were encountered:
This is the default date transform: https://github.com/emberjs/data/blob/master/addon/-private/ext/date.js#L34
Per https://www.w3.org/TR/NOTE-datetime, timezones should be specified as
TZD = time zone designator (Z or +hh:mm or -hh:mm)
The regex on the above line only parses Z or +hhmm or -hhmm - note the missing
:
after the last non-capture group ((?:(\d{2}...
).Looks like a simple mistake, but it breaks out of the box normalization of dates on servers with timezones. Let me know if you would like a PR to fix or if there is some context here that I'm missing. In the meantime, we can create our own normalize function to properly create dates out of those strings.
The text was updated successfully, but these errors were encountered: