home  bbs  files  messages ]

      ZZLI4422             linux.debian.devel             1179 messages      

[ previous | next | reply ]

[ list messages | list forums ]

  Msg # 234 of 1179 on ZZLI4422, Saturday 10-03-25, 1:15  
  From: RUSS ALLBERY  
  To: SOREN STOUTNER  
  Subj: Re: Question about reproducibility tests  
 From: rra@debian.org 
  
 Soren Stoutner  writes: 
  
 > Can you think of any way that using the Etc/GMT+12 and Etc/GMT-14 syntax 
 > would cause any *problems*? 
  
 Yes: Etc/GMT+12 and Etc/GMT-14 generate different time zone abbreviations. 
  
 % env TZ=Etc/GMT+12 date 
 Thu Oct  2 05:31:10 AM -12 2025 
 % env TZ=Etc/GMT-14 date 
 Fri Oct  3 07:31:14 AM +14 2025 
  
 The point of using GMT+12 and GMT-12 is that they keep the same 
 (incorrect, but it doesn't really matter for this purpose) time zone 
 abbreviation for reproducibility testing: 
  
 % env TZ=GMT+12 date 
 Thu Oct  2 05:32:09 AM GMT 2025 
 % env TZ=GMT-12 date 
 Fri Oct  3 05:32:12 AM GMT 2025 
  
 Otherwise, you may get spurious reproducibility failures due to the 
 changed time zone abbreviation. 
  
 I don't believe there is a mechanism to force the same time zone 
 abbreviation other than usig POSIX rule-based zones. 
  
 -- 
 Russ Allbery (rra@debian.org)               
  
 --- SoupGate-Win32 v1.05 
  * Origin: you cannot sedate... all the things you hate (1:229/2) 

[ list messages | list forums | previous | next | reply ]

search for:

328,104 visits
(c) 1994,  bbs@darkrealms.ca