Tempus-dominus: `timeZone` option is not documented

Created on 6 Jun 2017  路  5Comments  路  Source: Eonasdan/tempus-dominus

There are several issues that reference passing a timeZone option, which appears to work, but this option does not appear anywhere in the docs.

v4

Most helpful comment

I was searching for hours about this. Read the whole documentation and could not find any option to set the timezone. They should document this option or at least say it's deprecated if it's the case. My whole application runs in UTC mode and I really needed this option.

All 5 comments

Also curious about this. Is this going to continue to be supported?

I was searching for hours about this. Read the whole documentation and could not find any option to set the timezone. They should document this option or at least say it's deprecated if it's the case. My whole application runs in UTC mode and I really needed this option.

Very true! I just was in need for this option for the second time since half a year and almost forgot about it. Still it took me hours just to find out about this one again ... Is this meant to be some easter-egg-thing!?

It is documented now. Could use some example though. For people who found this issue from google. There's an example:

  1. Include moment-timezone in your app.
  2. In your configuration set timeZone to one of the moment-timezone zones i.e. timeZone: 'Europe/Warsaw'

http://eonasdan.github.io/bootstrap-datetimepicker/Options/#timezone

Hello. Thanks for using my project. We鈥檙e closing all tickets/prs for v4 as it is no longer supported. We鈥檙e making way for a new version. Please read this blog post

Was this page helpful?
0 / 5 - 0 ratings

Related issues

woohling picture woohling  路  4Comments

lllopo picture lllopo  路  7Comments

callum-resdiary picture callum-resdiary  路  4Comments

dleffler picture dleffler  路  4Comments

hmaidasani picture hmaidasani  路  5Comments