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

Commit 7b77cc2

Browse files
committed
Merge pull request #174 from jgillich/time
time moved to external repo
2 parents 6165c97 + 8691c0f commit 7b77cc2

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

Cargo.toml

+3
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,6 @@ git = "https://github.com/sfackler/rust-openssl.git"
1313

1414
[dependencies.url]
1515
git = "https://github.com/servo/rust-url"
16+
17+
[dependencies.time]
18+
git = "https://github.com/rust-lang/time"

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)