[Rt-commit] rt branch 5.0/update-legacy-timezones created. rt-5.0.4-132-gf2fb3e722d

BPS Git Server git at git.bestpractical.com
Tue Aug 29 18:50:09 UTC 2023


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "rt".

The branch, 5.0/update-legacy-timezones has been created
        at  f2fb3e722dee9ccce830d8d0497a8dee1abee418 (commit)

- Log -----------------------------------------------------------------
commit f2fb3e722dee9ccce830d8d0497a8dee1abee418
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Tue Aug 29 14:19:47 2023 -0400

    Update legacy timezones
    
    Standard timezones generally follow the rule of using the geographical
    region (continent or ocean) and city name.
    
    The initial reason of this commit is Debian recently moved all old
    timezones(like US/Eastern) to another package(tzdata-legacy), and it's
    good to not introduce an additional, unnecessary dependency.
    
    Fixes: I#37666

diff --git a/etc/RT_Config.pm.in b/etc/RT_Config.pm.in
index fb6b584895..6b945a72ba 100644
--- a/etc/RT_Config.pm.in
+++ b/etc/RT_Config.pm.in
@@ -145,7 +145,7 @@ your server.
 
 =cut
 
-Set($Timezone, "US/Eastern");
+Set($Timezone, "America/New_York");
 
 =item C<@Plugins>
 
diff --git a/t/api/date.t b/t/api/date.t
index 7f7ecd7016..0739d94c30 100644
--- a/t/api/date.t
+++ b/t/api/date.t
@@ -415,7 +415,7 @@ my $year = (localtime(time))[5] + 1900;
     $date->Set(Format => 'unknown', Value => 'tomorrow 10am');
     is($date->ISO, '2012-06-15 06:00:00', "YYYY-DD-MM hh:mm:ss");
 
-    $current_user->UserObj->__Set( Field => 'Timezone', Value => 'US/Hawaii');
+    $current_user->UserObj->__Set( Field => 'Timezone', Value => 'Pacific/Honolulu');
 
     set_fixed_time("2012-06-14T20:10:00Z"); # 14th in UTC and Hawaii
     $date = RT::Date->new( $current_user );

-----------------------------------------------------------------------


hooks/post-receive
-- 
rt


More information about the rt-commit mailing list