Paul Dicker

Results 63 issues of Paul Dicker

Add a new formatter that can work without allocating and has less performance overhead, as mentioned in https://github.com/chronotope/chrono/issues/1127#issuecomment-1612471735. I have made an effort to make the formatting code more readable,...

waiting-on-review

We have a couple of problems when formatting dates with a year outside of 0..=9999. ### RFC 2822 Formatting in `DateTime::to_rfc2822` panicked with "writing rfc2822 datetime to string should never...

waiting-on-review

My main motivation for adding an ISO 8601 parser is that chrono is currently unable to parse is own `Debug` output if the year is outside the `0..=9999` range supported...

waiting-on-review

### Default values when parsing `NaiveTime`: When parsing seconds and nanoseconds may already be omitted. This is now extended to minutes. `NaiveDate`: When a day field is missing, default to...

The first commit is shared with https://github.com/chronotope/chrono/pull/1082. Then a couple of commits do some cleanup and add a new offset parser. All the test keep passing, except some of those...

waiting-on-review

Split out from https://github.com/chronotope/chrono/pull/1040.

If the general direction of this documentation seems useful, I can write it for more types. My idea is to give a tour of the available methods on a type,...

waiting-on-review

There are several very informative comments in the time-rs repo. From https://github.com/time-rs/time/pull/543#issuecomment-1405963381: > The [illumos](https://illumos.org/) implementations of [tzset(3C)](https://illumos.org/man/3C/tzset), [localtime_r(3C)](https://illumos.org/man/3C/localtime_r), [setenv(3C)](https://illumos.org/man/3C/setenv), and [getenv(3C)](https://illumos.org/man/3C/getenv), all have an **MT-Level** of **Safe** or **MT-Safe**;...

The goal is to add a type that can describe durations with the flexibility of an ISO 8601 duration. Because we already have enough confusion with types named `Duration`, I...

The `TZDIR` variable can be set to override the path to the time zone database, at least in glibc. See https://github.com/ogham/exa/issues/856. We should also merge the two places where we...