Jira (FACT-1501) timezone contains wrong value

5 views
Skip to first unread message

René (JIRA)

unread,
Sep 4, 2016, 5:37:03 PM9/4/16
to puppe...@googlegroups.com
René created an issue
 
Facter / Bug FACT-1501
timezone contains wrong value
Issue Type: Bug Bug
Affects Versions: FACT 2.4.5
Assignee: Unassigned
Components: Community
Created: 2016/09/04 2:36 PM
Environment:

windows 2012

Priority: Normal Normal
Reporter: René

The timezone fact should return the "Timezone ID" instead of the "StandardName" or "DaylightName" (as presented here: http://zonetime.azurewebsites.net ). If there is some specific reason why the timezone-fact is not returning the "Timezone ID", then we should have a new fact called eg. timezoneid fact with the Timezone ID".

When setting the timezone with tzutil.exe, you have to use the timezone ID for that, so comparing the fact against a Timezone ID will not match up..

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe)
Atlassian logo

Michael Smith (JIRA)

unread,
Feb 7, 2017, 2:24:02 PM2/7/17
to puppe...@googlegroups.com
Michael Smith updated an issue
Change By: Michael Smith
Fix Version/s: FACT 4.0.0

Geoff Nichols (JIRA)

unread,
Apr 13, 2017, 4:33:02 PM4/13/17
to puppe...@googlegroups.com
Geoff Nichols updated an issue
Change By: Geoff Nichols
Story Points: 2

Geoff Nichols (JIRA)

unread,
Apr 13, 2017, 4:33:02 PM4/13/17
to puppe...@googlegroups.com
Geoff Nichols updated an issue
Change By: Geoff Nichols
Acceptance Criteria: * The timezone fact should return the "Timezone ID" instead of the "StandardName" or "DaylightName" (as presented here: http://zonetime.azurewebsites.net ).
* If there is some specific reason why the timezone-fact is not returning the "Timezone ID", then we should have a new fact called eg. timezoneid fact with the Timezone ID".

Geoff Nichols (JIRA)

unread,
Apr 13, 2017, 4:40:03 PM4/13/17
to puppe...@googlegroups.com
Geoff Nichols updated an issue
Change By: Geoff Nichols
Sprint: Agent Ready for Engineering

Sean McDonald (JIRA)

unread,
Feb 21, 2018, 1:59:03 PM2/21/18
to puppe...@googlegroups.com
Sean McDonald updated an issue
Change By: Sean McDonald
Story Points: 2
This message was sent by Atlassian JIRA (v7.5.1#75006-sha1:7df2574)
Atlassian logo

Sean McDonald (JIRA)

unread,
Feb 21, 2018, 1:59:03 PM2/21/18
to puppe...@googlegroups.com
Sean McDonald updated an issue
Change By: Sean McDonald
Labels: triaged windows

René (JIRA)

unread,
Feb 22, 2018, 2:14:02 AM2/22/18
to puppe...@googlegroups.com
René commented on Bug FACT-1501
 
Re: timezone contains wrong value

Any reason why this ticket is just moved around and not fixed/commented?

René (JIRA)

unread,
Feb 22, 2018, 4:15:02 AM2/22/18
to puppe...@googlegroups.com
René commented on Bug FACT-1501

Sorry for the last one.. did no understand that the top-bar changes the status of this ticket.

 

Branan Riley (JIRA)

unread,
May 14, 2018, 7:51:03 PM5/14/18
to puppe...@googlegroups.com
Branan Riley updated an issue
Change By: Branan Riley
Labels: timezo triaged windows
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Casey Williams (JIRA)

unread,
May 15, 2018, 6:14:03 PM5/15/18
to puppe...@googlegroups.com
Casey Williams updated an issue
Change By: Casey Williams
Labels: needs_repro timezo triaged windows

Josh Cooper (Jira)

unread,
Mar 28, 2022, 9:18:02 PM3/28/22
to puppe...@googlegroups.com
Josh Cooper commented on Bug FACT-1501

This issue is because the timezone fact relies on Time.now.strftime("%Z") and Windows just behaves differently on Windows:

C:\ProgramData\PuppetLabs>ruby.exe -e 'puts Time.now.strftime("%Z")'
Pacific Daylight Time

Given that facter has behaved this way for so long and that timezone identifiers are inherently ambiguous

'CST' means one thing in China and something else in North America, and 'IST' can refer to time in India, Ireland or Israel.

I'm going to close this as won't fix.

This message was sent by Atlassian Jira (v8.20.2#820002-sha1:829506d)
Atlassian logo

Josh Cooper (Jira)

unread,
Sep 2, 2022, 3:40:02 PM9/2/22
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Fix Version/s: FACT 4.0.0
This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages