mirror of https://github.com/zulip/zulip.git
2cf64b569e
The reason utcToZonedTime would return an invalid Date (i.e. ‘new Date(NaN)’) is because we passed in an invalid timezone. Fix the comments and tests to reflect this; remove unnecessary mocking and the misleading ‘instanceof Date’ check. Signed-off-by: Anders Kaseorg <anders@zulip.com> |
||
---|---|---|
.. | ||
assets | ||
audio/notification_sounds | ||
generated | ||
html | ||
images | ||
js | ||
shared | ||
styles | ||
templates | ||
third | ||
.gitignore |