Questions tagged [tzdata]

37 questions
0
votes
1 answer

TZ Database on Debian Stable for Casablanca ignores the permanent change to DST and Adds an offset of 1

I am on a Debian Stable 9 (stretch), the newly updated TZ database for Africa/Casablanca Table currently states isdst=0 and an offset from UTC of +01. From the DST in Morocco Wiki page…
0
votes
0 answers

Python app taking a long time to open using cx_freeze

I am building an app with tkinter, cx_freeze and I have Anaconda installed. The app is taking a really long time to open (30 seconds). I think it has something to do with the tzdata that is in the ananconda tcl folders as I can see it opening…
Mike Clark
  • 33
  • 7
0
votes
1 answer

Tools to parse tzdata database in C

How can I parse tzdata database (published by IANA, or by operating system vendors) to get historical timezone information? For example I would like to know what was the time offset to GMT in Asia/Tokyo at a specific point in time like 1435100000 …
sorush-r
  • 10,490
  • 17
  • 89
  • 173
0
votes
0 answers

Update Android tzdata files

I'm not very experienced in working with Android files but I've seen that in some zones like Turks & Caicos Islands the offset can change from year to year. For that I need to update periodically the tzdata files from Android system to the latest…
LAffair
  • 1,968
  • 5
  • 31
  • 60
-1
votes
1 answer

How to get latitude and longitude for a timezon database name (tzinfo)?

My web app has a need to very roughly locate the user in order to calculate sunset and sunrise times. Since geolocation features necessarily ask the user for permission, I'm brainstorming other ways to get at the location in a way that is good…
John
  • 6,693
  • 3
  • 51
  • 90
-1
votes
2 answers

why change ubuntu16.04 timezone in docker is invalid

I use command apt-get install -y tzdata && echo Asia/Shanghai > /etc/timezone && dpkg-reconfigure -f noninteractive tzdata to change timezone to UTC+8,but it doesn't work。My Dockerfile as follows: FROM ubuntu:xenial MAINTAINER Leon.Gan RUN mv…
Leon
  • 331
  • 2
  • 3
  • 14
-2
votes
1 answer

How to set half hour and 45-minute time zones without worrying about DST changes in Linux?

Currently I am setting time zone GMT+5 on my Linux CentOS 7 machine by linking /etc/localtime to /usr/share/zoneinfo/Etc/GMT-5. I want to create a zone info file for example /usr/share/zoneinfo/Etc/GMT-5:30 that enables me to set the current…
Muhammad Charaf
  • 343
  • 3
  • 16
1 2
3