Item14261: Custom date rendered as epoch (01-01-1970)

pencil
Priority: Normal
Current State: Needs Developer
Released In: n/a
Target Release:
Applies To: Extension
Component: DateTimePlugin
Branches:
Reported By: LaurentChauvirey
Waiting For:
Last Change By: GeorgeClark
Hi,

When I try to specify a custom date with the date="..." parameter, the date is always rendered as epoch (01-01-1970), e.g. :
%DATETIME{"$day $month $year" date="2017-01-15"}%
is rendered as :
01 Jan 1970

I tried several input format for the custom date, it doesn't seem to matter, it's always epoch which comes out. Also the plugin behaves okay when I don't use the custom date parameter.

I use Foswiki 2.1.2, with last version of DateTime plugin. I have set my DefaultDateFormat parameter to "$year-$mo-$day".

Thanks in advance for any help you could give on this problem.

-- LaurentChauvirey - 31 Dec 2016

Unfortunately this is one of the extensions that is in need of a developer to adopt and pick up maintenance for it. The developer who was maintaining it has left the project.

-- GeorgeClark - 31 Dec 2016
 

ItemTemplate edit

Summary Custom date rendered as epoch (01-01-1970)
ReportedBy LaurentChauvirey
Codebase
SVN Range
AppliesTo Extension
Component DateTimePlugin
Priority Normal
CurrentState Needs Developer
WaitingFor
Checkins
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release02x01Checkins
Release02x00Checkins
Release01x01Checkins
Topic revision: r2 - 31 Dec 2016, 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