[asterisk-dev] POSIX timezone handling
Gregory Nietsky
gregnietsky at gmail.com
Mon Oct 1 03:19:17 CDT 2007
Henning Holtschneider wrote:
symlink /etc/localtime to the appropriate zonefile ...
in my case
ln -s /usr/share/zoneinfo/Africa/Johannesburg /etc/localtime
see the command tzselect
> Hi,
>
> I've got a system which only provides POSIX-style timezone information
> through /etc/TZ and the TZ environment variable. Unfortunately,
> Asterisk doesn't seem to care about the timezone and defaults to GMT.
>
> Looking at main/stdtime/localtime.c, Asterisk seems to be able to
> handle POSIX-style timezones, but I always end up with the string
> "/etc/localtime" being parsed for timezone information. Is the code
> (i.e. tzparse() ) supposed to work? If it does, how to I get Asterisk
> to honor my POSIX-style timezone information?
>
> Best regards,
> Henning Holtschneider
> --
> LocaNet oHG - http://www.loca.net
> Lindemannstrasse 81, D-44137 Dortmund
> tel +49 231 91596-25, fax +49 231 91596-55
> sip 25 at voip.loca.net
>
> Registergericht Amtsgericht Dortmund HRA 14208
> Geschäftsführer Sven Haufe, Henning Holtschneider
>
> ------------------------------------------------------------------------
>
> _______________________________________________
>
> Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/
>
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-dev
More information about the asterisk-dev
mailing list