Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/std/http/http_spec.cr
Original file line number Diff line number Diff line change
@@ -44,7 +44,7 @@ describe HTTP do
LibC.tzset
begin
time = Time.new(1994, 11, 6, 8, 49, 37, 0, Time::Kind::Local)
HTTP.rfc1123_date(time).should eq("Sun, 06 Nov 1994 06:49:37 GMT")
HTTP.rfc1123_date(time).should eq(time.to_utc.to_s("%a, %d %b %Y %H:%M:%S GMT"))
ensure
ENV["TZ"] = tz
LibC.tzset

0 comments on commit 7e1afdb

Please sign in to comment.