On Wed, 2009-12-02 at 02:49 +0000, Chen, Congwu wrote: > Hello, > On linux (platform_adapters/linux/platform_timezones.cpp), > the implementation of getSystemTimeZoneContext seems have > problems: it use tzset() and later check tzname[0], tzname[1] > to match against a built-in known timezone table (sysync/tz_table.h).
There's an open issue about this: http://bugzilla.moblin.org/show_bug.cgi?id=3477 The solution proposed there uses other sources of timezone, or rather, location information which are available on a Linux system. It would access those at the expense of adding further system dependencies to libsynthesis (libjana). Is the local timezone perhaps configurable? Then such highly platform and client specific code could reside in the client, with the some less elaborate fallback in the library itself. -- Best Regards, Patrick Ohly The content of this message is my personal opinion only and although I am an employee of Intel, the statements I make here in no way represent Intel's position on the issue, nor am I authorized to speak on behalf of Intel on this matter. _______________________________________________ os-libsynthesis mailing list [email protected] http://lists.synthesis.ch/mailman/listinfo/os-libsynthesis
