uv/docs/concepts
Andrew Gallant 33480d61eb switch to jiff from chrono (#6205)
This PR migrates uv's use of `chrono` to `jiff`.

I did most of this work a while back as one of my tests to ensure Jiff
could actually be used in a real world project. I decided to revive
this because I noticed that `reqwest-retry` dropped its Chrono
dependency,
which is I believe the only other thing requiring Chrono in uv.
(Although, we use a fork of `reqwest-middleware` at present, and that
hasn't been updated to latest upstream yet. I wasn't quite sure of the
process we have for that.)

In course of doing this, I actually made two changes to uv:

First is that the lock file now writes an RFC 3339 timestamp for
`exclude-newer`. Previously, we were using Chrono's `Display`
implementation for this which is a non-standard but "human readable"
format. I think the right thing to do here is an RFC 3339 timestamp.

Second is that, in addition to an RFC 3339 timestamp, `--exclude-newer`
used to accept a "UTC date." But this PR changes it to a "local date."
That is, a date in the user's system configured time zone. I think
this makes more sense than a UTC date, but one alternative is to drop
support for a date and just rely on an RFC 3339 timestamp. The main
motivation here is that automatically assuming UTC is often somewhat
confusing, since just writing an unqualified date like `2024-08-19` is
often assumed to be interpreted relative to the writer's "local" time.
2024-08-20 11:31:46 -05:00
..
cache.md Document the cache directory (#6229) 2024-08-19 15:51:45 -05:00
dependencies.md Link to the projects concept from the dependencies concept (#6224) 2024-08-19 14:22:27 -05:00
index.md Update documentation sections (#5452) 2024-07-25 12:37:22 -05:00
projects.md Allow user to constrain supported lock environments (#6210) 2024-08-20 13:28:04 +00:00
python-versions.md Link to persistent configuration options in Python versions document (#6226) 2024-08-19 19:22:58 +00:00
resolution.md switch to jiff from chrono (#6205) 2024-08-20 11:31:46 -05:00
tools.md Add support for package@latest in tool run (#6138) 2024-08-19 16:58:36 +00:00
workspaces.md Make some edits to the workspace concept documentation (#6223) 2024-08-19 18:57:31 +00:00