chrono icon indicating copy to clipboard operation
chrono copied to clipboard

Date and time library for Rust

Results 262 chrono issues
Sort by recently updated
recently updated
newest added
trafficstars

### Thanks for contributing to chrono! - [X] Have you added yourself and the change to the [changelog]? (Don't worry about adding the PR number) - [X] If this pull...

Hi, When I created my PR, I was thinking "Oh, I could add translations for months and weekday". But I don't know the correct best practices for this kind of...

Hi all, I would like to be able to display the full name of a day of the week, but from what I see in [chrono::Weekday](https://docs.rs/chrono/0.4.0/chrono/enum.Weekday.html), I can only get...

Hi, how can I apply serde with to a `Vec?

In response to #578, there really isn't anything Chrono can do to actually prevent the invalid memory accesses in libc -- all we can do is tell people not to...

The documentation for `NaiveDate::parse_from_str` states that it is very relaxed in parsing all sorts of formats. Unfortunately this does not pass over to the Json serialization strategy using Serde. The...

Analogous to `Utc::now`, I'd like to get now as a `DateTime` for a given timezone, would this be the idiomatic way to do so? ``` Utc::now().with_timezone(timezone) ``` Similar to #169,...

native build works perfect,its stuck on Utc time,Is there a better method to pick? thanks ``` let local=Local::now(); let l= format!("{:02}:{:02}", local.hour(), local.minute()); let utc=Utc::now(); let u= format!("{:02}:{:02}", utc.hour(), utc.minute());...

rewording and other fixes to the documentation of `src/lib.rs` and a related file

Hey all, I might be missing something, but I'm not seeing a way to use `parse_from_str` with unix timestamps that include milliseconds. I would have expected something like: ```rust fn...

parsing