Expand description
Date and time parsing similar to what git can do.
Note that this is not a general purpose time library.
§Feature Flags
serde
— Data structures implementserde::Serialize
andserde::Deserialize
.
Modules§
Structs§
- Time
- A timestamp with timezone.
Functions§
- parse
- Parse
input
as any time that Git can parse when inputting a date. - parse_
header - Unlike
parse()
which handles all kinds of input, this function only parses the commit-header format like1745582210 +0200
.
Type Aliases§
- Offset
InSeconds - time offset in seconds.
- Seconds
Since Unix Epoch - The number of seconds since unix epoch.