Dne 09. 07. 20 v 15:54 Adriano dos Santos Fernandes napsal(a):
If OS is configured with deprecated time zone, it will return deprecated
time zone name.

I don't have my system configured to use deprecated time zone name. My /etc/localtime is a symlink to /usr/share/zoneinfo/Europe/Prague

BTW, OpenSUSE (I use Tumbleweed) presents only named regions on setup to choose from.

Europe/Prague is there in Linux.

Yes, I know :) Please note that "/usr/share/zoneinfo/Europe/Prague" is a file that contains data about timezone region 'Europe/Prague'. If you'll inspect the content, I'll find that it refers to CET and CEST, and has no reference to 'Europe/Prague'. That's because some regions are aliases and hence symlinks to other files, hence it's not possible to get region name from the file content. You can't even use the filename, because it's not always applicable, for example local timezone is content of /etc/localtime which is a symlink.

regards
Pavel


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to