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 -~----------~----~----~----~------~----~------~--~---
