I think it's a good idea. :) Thanks, I'll try to get this in to the next version.
-Yaron On Tue, Apr 14, 2009 at 5:10 AM, Patrick Nagel <[email protected]>wrote: > > Hi, > > many servers run on UTC/GMT, but the majority of Wiki users may be in > another > timezone. Therefore MediaWiki has the $wgLocaltimezone global variable > which is > set on our Wiki. But having the default value of a datetime field set to > 'now' > will cause SF to insert the server's time (ignoring the $wgLocaltimezone > variable) into the field. > > I think this could easily be fixed with > > global $wgLocaltimezone; > putenv( 'TZ='.$wgLocaltimezone ); > > somewhere in SF_FormPrinter.inc. Yaron, what do you think? > > Patrick. > > -- > Key ID: 0x86E346D4 http://patrick-nagel.net/key.asc > Fingerprint: 7745 E1BE FA8B FBAD 76AB 2BFC C981 E686 86E3 46D4 > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Semantic Forms" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/semantic-forms?hl=en -~----------~----~----~----~------~----~------~--~---
