Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

Setting timeZone to null does not have any effect #51

Open
stri8ed opened this issue Nov 30, 2018 · 0 comments
Open

Setting timeZone to null does not have any effect #51

stri8ed opened this issue Nov 30, 2018 · 0 comments

Comments

@stri8ed
Copy link

stri8ed commented Nov 30, 2018

In the documentation, its stated:

Sets time zone. If you want to use user's computer time zone, pass null

However the code which implements this, will always cast the null into "UTC".
Config.prototype._timeZone = function(val) { return ko.observable(val || 'UTC'); }

So passing null does not have the desired effect, and instead its reverted to UTC.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant