Clarify timezone conversion in docs

This commit is contained in:
Danilo Bargen 2016-03-23 09:50:21 +01:00
parent 79686de2d1
commit 6d9f91874b
1 changed files with 4 additions and 3 deletions

View File

@ -49,9 +49,10 @@
//! //!
//! Chrono provides a `DateTime` type for the combined date and time. //! Chrono provides a `DateTime` type for the combined date and time.
//! //!
//! `DateTime`, among others, is timezone-aware and //! `DateTime`, among others, is timezone-aware and must be constructed from
//! must be constructed from the `TimeZone` object. //! the `TimeZone` object.
//! `DateTime`s with different time zones do not mix, but can be converted to each other. //! `DateTime`s with different time zones do not mix, but can be converted to
//! each other using the `DateTime::with_timezone` method.
//! //!
//! You can get the current date and time in the UTC time zone (`UTC::now()`) //! You can get the current date and time in the UTC time zone (`UTC::now()`)
//! or in the local time zone (`Local::now()`). //! or in the local time zone (`Local::now()`).