Questions tagged [tzdata]

37 questions
21
votes
1 answer

How and where should I suggest a rename of an existing timezone name?

The history of timezones has some existing cases where a specific timezone has been renamed. For example, the Asia/Calcutta timezone has been deemed obsolete and replaced by Asia/Kolkata. In Ukraine, according to international standards, there is a…
Oleksandr Leskiv
  • 539
  • 5
  • 10
16
votes
1 answer

Historic timezone offsets in newer JDK versions

I found a weird java discrepancy while testing some timezones with the use of ZonedDateTime. I was trying to parse a date before 1970 and saw that the result changes between java versions. The offset for Netherlands in 1932 is +00:19. Does anyone…
8
votes
1 answer

Error converting to UTC after 2038 on 64 bit unix PHP

I need to convert date time information from local time (gtm+1) to UTC using php (5.4) on Centos 7.4 64 bits I tried the following procedure : function convertToUtc ($date) { $dateTime = new DateTime ($date, new DateTimeZone('Europe/Rome')); …
7
votes
1 answer

Argument error on :ets.lookup(:tzdata_current_release, :release_version) when running inside migration

I have this piece of code: case Timex.Timezone.get(data) do {:error, _} = error -> error data -> {:ok, data} end to put timezones that are saved in the database into a struct. Well when running a migration that gets some data through…
Alfonso Embid-Desmet
  • 3,561
  • 3
  • 32
  • 45
5
votes
1 answer

How to fix broken tzdata2020c timezone database for alpine?

I just stumbled upon a bug with the tzdata2020c package for alpine. It does not calculate the correct time for Europe/Berlin after the scheduled change of daylight savings time next Sunday October 25th, 2020. Version tzdata2020c uses CEST for e.g.…
tamabe
  • 51
  • 2
4
votes
2 answers

How to build the docker python container with ubuntu 18.04 (bionic)?

Python provides docker images (https://hub.docker.com//python/), which come in a variety of flavours (based on different images from: https://hub.docker.com//buildpack-deps/). Unfortunately, none are provided with ubuntu 18.04 (bionic) as a base. I…
Chris
  • 3,245
  • 4
  • 29
  • 53
3
votes
3 answers

exchangelib and pyinstaller - zoneinfo - tzdata - UTC issue

In my python project, I'm using exchangelib and I needed to create an exe file. Using pyinstaller --onefile I had UTC errors (in general tzdata)- "No timzone in key UTC". Simplifying all and following this…
Fabio Fracassi
  • 289
  • 3
  • 7
3
votes
0 answers

JodaTime timezone abbreviations missing in Android

Iorana! Greetings from Easter Island! I am using JodaTime 2.10.6 in Android to print the timezone abbreviations for dates such as EAST, PDT, GMT, EEST: DateTimeZone zoneEasterIsland = DateTimeZone.forID("Pacific/Easter"); DateTime nowEasterIsland =…
RumburaK
  • 1,985
  • 1
  • 21
  • 30
3
votes
1 answer

Tzdata error on trying to start phoenix server in locallhost

I'm trying to start my application in phoenix on localhost, but I'm getting an error from tzdata that prevents the application from starting. I don't have any experience with phoenix, so any help is welcome. Here's the error I get when I try the…
2
votes
1 answer

What is the correct POSIX-style TZ format: <+04>-4 vs UNK-4

Currently I am writing a component for an ESP32 microcontroller. Therefore I need a list of all timezones. I found many sources of a timezone file, but they use different formats for the timezone values. One example ist Europe/Ulyanovsk. Some files…
2
votes
0 answers

How I can install latest TZ Update to JRE 1.6

I have legacy software that need Java6. I'm trying to update java TZ library via tzupdater.jar. I have successfully installed tzdata2019c.tar.gz , but couldn't install tzdata2020a Here are details: C:\Program Files…
Roman Klin
  • 21
  • 1
2
votes
1 answer

mktime or tz database unexpected return for 1941

mktime returns for july 3rd 1941 (00:00:00) and july 4th 1941 (00:00:00) are unexpected. The difference between the two is 82800 seconds, lacking a full hour (3600). The C program diff1941.c (see below) shows the following : $> diff1941 …
2
votes
1 answer

Android: Joda remove Timezone raw files

Is it possible to strip the Timezone files from Joda-Time out of my build? I'm only using 1 in release builds and 2 in debug builds to use in a test. My app is only available in one country and a 2MB reduction seems like a good idea getting me…
krm266
  • 61
  • 1
  • 5
2
votes
1 answer

postgresql - how to extract a list of past and known future offset changes for a timezone

Postgresql is rather good at handling timezones, using the classic tzdata database. The server can convert past and future timestamps between the different timezones, following the rules in tzdata (offsets, dst changes, ..) Is there a simple and…
Jerome WAGNER
  • 21,986
  • 8
  • 62
  • 77
1
vote
0 answers

How to use Joda-time property org.joda.time.DateTimeZone.Folder

Currently in our project we are using joda-time version 2.9.9, the project is on production and we need to update the tzdata of jodatime. Java 1.8 Weblogic 12.2.1.3 tzdata from https://data.iana.org/time-zones/releases/tzdata2023c.tar.gz When the…
pancho
  • 11
  • 1
1
2 3