You are here: Foswiki>Tasks Web>Item725 (06 Jan 2015, GeorgeClark)Edit Attach
The TWiki::Time::formatTime knows can format GMT and servertime but its cousin TWiki::Time::parseTime does not and uses timegw() from Time::Local no matter what. This is unprecise if you want to parse in a user supplied time string in servertime format and diff it agains some epoch seconds.

MD

Undeferred, post Dakar CC

ItemTemplate edit

Summary add output timezone to parseTime
ReportedBy MichaelDaum
Codebase
SVN Range
AppliesTo Engine
Component FoswikiTime
Priority Enhancement
CurrentState Confirmed
WaitingFor
Checkins
TargetRelease major
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release01x01Checkins
Topic revision: r6 - 06 Jan 2015, 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