Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Commit 8691c0f

Browse files
committed
tm_gmtoff has been renamed to tm_utcoff
1 parent bfbcb11 commit 8691c0f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/apache_fake.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ impl Server for ApacheFakeServer {
3535
tm_wday: 4, // days since Sunday ~[0-6]
3636
tm_yday: 0, // days since January 1 ~[0-365]
3737
tm_isdst: 0, // Daylight Savings Time flag
38-
tm_gmtoff: 0, // offset from UTC in seconds
38+
tm_utcoff: 0, // offset from UTC in seconds
3939
tm_nsec: 0, // nanoseconds
4040
});
4141
w.headers.etag = Some(headers::etag::EntityTag {

src/http/headers/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -792,7 +792,7 @@ mod test {
792792
tm_wday: 0,
793793
tm_yday: 0,
794794
tm_isdst: 0,
795-
tm_gmtoff: 0,
795+
tm_utcoff: 0,
796796
tm_nsec: 0
797797
}
798798
}

0 commit comments

Comments
 (0)