Item14212: fix "Use of uninitialized value $secondsSince1970..." in DateTimePlugin

pencil
Priority: Normal
Current State: Waiting for Release
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: DateTimePlugin
Branches: master
Reported By: FlorianSchlichting
Waiting For:
Last Change By: FlorianSchlichting
Fix an "uninitialized value" warning in DateTimePlugin

As observed in #foswiki on 2014-10-31:

FloPri | has anyone seen an errormessage like this or knows were start looking: Use of uninitialized value $secondsSince1970 in addition (+) at /var/www/wiki.ffg.at/private/Foswiki-1.1.5/lib/Foswiki/Plugins/DateTimePlugin.pm line 238.    [14:18]
MichaelDaum | FloPri, means %DATETIME has been called with an invalid date string. DateTimePlugin doesn't check the return value of Foswiki::Time::parseTime being undef in some cases

-- FlorianSchlichting - 08 Nov 2016

 
Topic revision: r1 - 08 Nov 2016, FlorianSchlichting
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