This question about Missing functionality: Answered

Created date and closed date.

I'm using ACTIONTRACKER with the COMMENT plugin to manage ACTION entries in a topic.

Although the user types in the Due Date in the form (normally dd/mm/yy(yy) format), the Plugins must automatically insert the $created date in the record.

It appears the created date is too in the format dd/mm/yyyy. Where does the Plugins(s) get the date? SERVERTIME or GMTTIME? The same question applies to the routine when changing the status to "closed"; a $closed date is inserted in the record together with the $closer. Where does it get the date?

I have a suspicion that it's the SERVERTIME because when I closed off an ACTION after midnight, the closed date showed yesterday's date. My server is 7 hours behind me.

In order to deal with TImezone issues, it would be helpful if all dates AND times were captured in UTC time format and then displayed using the LOCALTIME plugin which can be designanted to dispaly any other time zone relative to UTC and display the date or the date/time it was closed.
Dates are parsed by the CPAN:Time::ParseDate module with the following attributes:

NO_RELATIVE => 1, DATE_REQUIRED => 1, WHOLE => 1, GMT => 1, UK => 1

i.e. dates are expected to be in GMT (UTC) not local time.

-- CrawfordCurrie - 15 Feb 2011

QuestionForm edit

Subject Missing functionality
Extension ActionTrackerPlugin
Version Foswiki 1.0.9
Status Answered
Topic revision: r3 - 15 Feb 2011, CrawfordCurrie - This page was cached on 03 Jun 2020 - 21:33.

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