You are here: Foswiki>Tasks Web>Item13043 (22 Dec 2014, GeorgeClark)Edit Attach

Item13043: SERVERTIME disregards format string

pencil
Priority: Normal
Current State: Duplicate
Released In: n/a
Target Release: n/a
Applies To: Engine
Component:
Branches:
Reported By: RaymondLutz
Waiting For:
Last Change By: GeorgeClark
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/20/2024 DAY: Sat

(which seems to work, so perhaps this is already fixed??

-- RaymondLutz - 01 Oct 2014

Duplicate - closing this, keeping Item13044

-- GeorgeClark - 22 Dec 2014
 

ItemTemplate edit

Summary SERVERTIME disregards format string
ReportedBy RaymondLutz
Codebase 1.1.9
SVN Range
AppliesTo Engine
Component
Priority Normal
CurrentState Duplicate
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release01x01Checkins
Topic revision: r2 - 22 Dec 2014, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy