On Thu, Jun 19, 2008 at 4:35 PM, Matthew L. Creech <[EMAIL PROTECTED]> wrote: > > I think this behavior is probably due to the way localtime() works in > glibc. From what I've seen (at least on my embedded ARM-Linux board), > localtime() only invokes tzset() the first time it's run by an > application. So if your app starts and calls localtime() before the > timezone is changed, you'll get times formatted according to the old > timezone. >
Correction - that's what happens when localtime_r() is called; localtime() is guaranteed to call tzset() on each invocation. So one option here is to just disable use of localtime_r(), since presumably the configure script detects it and defines HAVE_LOCALTIME_R in config.h. -- Matthew L. Creech _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users