Skip to content

Is UTC stripped out too? Should we update the Readme? #148

@frederikhors

Description

@frederikhors

I'm using the env var $env:CHRONO_TZ_TIMEZONE_FILTER='(Europe/Berlin)' and building with cargo build, then I get this error:

Compiling chrono-tz v0.8.6
error[E0599]: no variant or associated item named `UTC` found for enum `Tz` in the current scope
  --> C:\Users\Fred\.cargo\registry\src\index.crates.io-6f17d22bba15001f\chrono-tz-0.8.6\src\timezone_impl.rs:14:13
   |
14 |         Tz::UTC
   |             ^^^ variant or associated item not found in `Tz`
   |
  ::: C:\prj\target\release\build\chrono-tz-5b053da3462d6436\out/timezones.rs:13:1
   |
13 | pub enum Tz {
   | ----------- variant or associated item `UTC` not found for this enum

For more information about this error, try `rustc --explain E0599`.
error: could not compile `chrono-tz` (lib) due to 1 previous error

Why?

Is UTC stripped out too? Should we update the Readme?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions