diff options
| author | Takashi Kokubun <takashikkbn@gmail.com> | 2025-10-08 21:26:54 -0700 |
|---|---|---|
| committer | Takashi Kokubun <takashikkbn@gmail.com> | 2025-10-08 21:26:54 -0700 |
| commit | f8c841dbd532ea2d834c343467c10bbd4d782abb (patch) | |
| tree | f834dbc8f97c5653d39695fc5e46821eedec334b | |
| parent | 53d1731b68e2b18abd095f8e74dc6de9ab7276e1 (diff) | |
test_commit_email.rb: Use a fixed timezone
| -rw-r--r-- | tool/test/test_commit_email.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tool/test/test_commit_email.rb b/tool/test/test_commit_email.rb index b14bf4e0ce..216c0823dc 100644 --- a/tool/test/test_commit_email.rb +++ b/tool/test/test_commit_email.rb @@ -11,7 +11,7 @@ class TestCommitEmail < Test::Unit::TestCase git('init', '--initial-branch=master') git('config', 'user.name', 'Jóhän Grübél') git('config', 'user.email', 'johan@example.com') - env = { 'GIT_AUTHOR_DATE' => '2025-10-08T12:00:00Z' } + env = { 'GIT_AUTHOR_DATE' => '2025-10-08T12:00:00Z', 'TZ' => 'UTC' } git('commit', '--allow-empty', '-m', 'New repository initialized by cvs2svn.', env:) git('commit', '--allow-empty', '-m', 'Initial revision', env:) git('commit', '--allow-empty', '-m', 'version 1.0.0', env:) @@ -52,7 +52,7 @@ class TestCommitEmail < Test::Unit::TestCase From: =?UTF-8?B?SsOzaMOkbiBHcsO8YsOpbA==?= <noreply@ruby-lang.org> To: cvs-admin@ruby-lang.org Subject: #{short_rev} (master): version 1.0.0 - J=C3=B3h=C3=A4n Gr=C3=BCb=C3=A9l\t2025-10-08 05:00:00 -0700 (Wed, 08 Oct 2= + J=C3=B3h=C3=A4n Gr=C3=BCb=C3=A9l\t2025-10-08 12:00:00 +0000 (Wed, 08 Oct 2= 025) New Revision: #{short_rev} |
