https://bugzilla.wikimedia.org/show_bug.cgi?id=26295
Summary: Timezone not considered when setting a datetime field
using 'now'
Product: MediaWiki extensions
Version: any
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: Normal
Component: SemanticForms
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
If setting a time field using
{{{field|Timestamp|input type=datetime|mandatory|default=now}}}
the time set will be timezone independent. It's behaving as coded, since the
time() function returns UTC time, but it doesn't seem to be behaving as
intended, given that one of the first operations performed in the SF 'now'
handling code is to get the local timezone.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l