Merge pull request #77 from JohnHeitmann/patch-1

Clean up Duration intro doc
This commit is contained in:
Kang Seonghoon 2016-06-15 01:59:50 +09:00 committed by GitHub
commit e4564fe49f
1 changed files with 5 additions and 4 deletions

View File

@ -46,10 +46,11 @@ extern crate chrono;
### Duration
Chrono used to have a `Duration` type, which represents the time span.
This is a simple reexport of
[`time::Duration`](http://doc.rust-lang.org/time/time/struct.Duration.html) type
provided by crates.io `time` crate (which originally comes from Chrono).
[`chrono::Duration`](https://lifthrasiir.github.io/rust-chrono/chrono/struct.Duration.html)
represents the magnitude of a time span. `Duration` used to be provided by Chrono.
It has been moved to the `time` crate as the
[`time::Duration`](http://doc.rust-lang.org/time/time/struct.Duration.html) type, but is
still re-exported from Chrono.
### Date and Time