Get time zone at first boot

testing

(Mark Verlinde) #1

Hi All,

Currently experimenting with getting a best estimate of the time zone at first boot;
(Of Course) working on arm we do not have a nice graphical install interface as anaconda.:disappointed_relieved:

Aim is to make the first config wizard even more user friendly.

From the command line this gives me the correct time zone:

curl https://ipapi.co/timezone && echo " is my timezone"

Europe/Amsterdam is my timezone

check

timedatectl | grep zone

Time zone: Europe/Amsterdam (CEST, +0200)

Does this work for other user all over the world?

thanx in advance


(Marc) #2

Works for me.


(Markus Neuberger) #3

Europe/Vienna is my timezone :+1:


(Filippo Carletti) #4
[filippo@filippo-v6 ~]$ curl https://ipapi.co/timezone && echo " is my timezone"
Europe/Rome is my timezone

TZ is right.


(Michael Träumner) #5

Europe/Berlin is my timezone :clap: