Skip to content

Commit

Permalink
Set proper value "Asia/Tokyo" to TZ
Browse files Browse the repository at this point in the history
Signed-off-by: Kenji Okimoto <[email protected]>
  • Loading branch information
okkez committed Jul 5, 2018
1 parent 5057bc4 commit 9a17fbe
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/plugin/test_out_file.rb
Original file line number Diff line number Diff line change
Expand Up @@ -558,9 +558,7 @@ def parse_system(text)
end

test 'append when JST' do
p ["TZ 1", ENV["TZ"]]
with_timezone("JST") do
p ["TZ 2", ENV["TZ"]]
with_timezone("Asia/Tokyo") do
time = event_time("2011-01-02 03:14:15+09:00")
formatted_lines = %[2011-01-02T03:14:15+09:00\ttest\t{"a":1}\n] + %[2011-01-02T03:14:15+09:00\ttest\t{"a":2}\n]

Expand Down

0 comments on commit 9a17fbe

Please sign in to comment.