Skip to content

Commit

Permalink
Merge branch '5.0/update-legacy-timezones' into 5.0-trunk
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrandtbuffalo committed Aug 30, 2023
2 parents 49c8a4b + f2fb3e7 commit 19ded24
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion etc/RT_Config.pm.in
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ your server.

=cut

Set($Timezone, "US/Eastern");
Set($Timezone, "America/New_York");

=item C<@Plugins>

Expand Down
2 changes: 1 addition & 1 deletion t/api/date.t
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand Down

0 comments on commit 19ded24

Please sign in to comment.