Priority: Normal
Current State: No Action Required
Released In: n/a
Target Release: n/a
No matter what the format string is, the macro SERVERTIME uses the sitepreference
example:
DATE: %SERVERTIME{"$mo/$day/$year"}% DAY: %SERVERTIME{"$wday"}%
should provide
DATE: 10/01/2014 DAY: Wed
Actually provides:
DATE: 2014-10-01 19:06:39 DAY: 2014-10-01 19:06:39
Try it here: (active macros)
DATE: 04/19/2024 DAY: Fri
which seems to work, so perhaps it is not an issue in the version of foswiki installed here??
--
RaymondLutz - 01 Oct 2014
Any chance you've got a plugin conflict or some other issue influencing the rendering of SERVERTIME? Or maybe an incomplete upgrade from an older version. The formatting is done by the module
lib/Foswiki/Time.pm
. If you have any thoughts on what might be different on your systems, please let us know. Otherwise we'll mark this No Action.
--
GeorgeClark - 22 Dec 2014
Closing no action.
--
GeorgeClark - 11 Feb 2015