Skip to content

Commit

Permalink
datetime.rs use compile-time map timezone names to values
Browse files Browse the repository at this point in the history
Use PfhMap compile-time map from timezone names, e.g. "PST", to
timezone values, e.g. "-07:00"

Issue #84
  • Loading branch information
jtmoon79 committed May 2, 2023
1 parent 3b95001 commit 98ebe68
Show file tree
Hide file tree
Showing 4 changed files with 565 additions and 566 deletions.
49 changes: 49 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ min-max = "0.1.8"
more-asserts = "0.3.1"
mut_static = "5.0.0"
nix = "0.26.2"
phf = { version = "0.11", features = ["macros"] }
rand = "0.8.5"
rangemap = "1.3.0"
regex = "1.7.1"
Expand Down
Loading

0 comments on commit 98ebe68

Please sign in to comment.