Skip to content

Looks like date.h does not work with Ubuntu's system TZ DB (Build Manual_TZ_DB=ON + install string = "/usr/share/zoneinfo" on Ubuntu) #857

@nirvikalpa7

Description

@nirvikalpa7

Hi guys! I tried to use Ubuntu system TZ DB for an app on date.h (built without curl support - Manual_TZ_DB=ON)
But after start my simple app I see a coredump and error message "Can not find version for TZ DB"
I tried to copy the version file from downloaded IANA TZ DB to Linux path: "/usr/share/zoneinfo"
but after that I had a coredump anyway with an error message: Can not find TimeZone - America/New_York (my app uses it just as an example).

So the question: Can we use somehow system Ubuntu's TZ DB instead of downloading TZ DB from IANA web site? or are they incompatible? Thank you for your time and reply anyway.

2024-11-18_19-38-35
2024-11-18_19-40-28

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions