dashboard using local time zone

394 views
Skip to first unread message

Hai Tao

unread,
Sep 18, 2012, 5:02:51 PM9/18/12
to puppet...@googlegroups.com
Hi,

I wonder if we can change the time on Dashboard to show time with
local time zone, for example, PST, rather than having to use the no
sense UST?

Thanks.

Hai T.

Vlad

unread,
Sep 18, 2012, 7:33:05 PM9/18/12
to puppet...@googlegroups.com
I've the following in the settings.yml:
time_zone: 'Central Time (US & Canada)'

You can use the following rake tasks to get a list of available time zones:
rake time:zones:all    # Displays names of all time zones recognized by the Rails TimeZone class, grouped by offset.
rake time:zones:local  # Displays names of time zones recognized by the Rails TimeZone class with the same offset as the system local time
rake time:zones:us     # Displays names of US time zones recognized by the Rails TimeZone class, grouped by offset.

Hai Tao

unread,
Sep 18, 2012, 8:03:18 PM9/18/12
to puppet...@googlegroups.com
works beautifully. Thanks a lot!
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/puppet-users/-/6N7RQ79okLgJ.
> To post to this group, send email to puppet...@googlegroups.com.
> To unsubscribe from this group, send email to
> puppet-users...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.



--
Hai Tao
Reply all
Reply to author
Forward
0 new messages