my $now = $today . sprintf('T%02d:%02d:02d',$lt[2], $lt[1], $lt[0]);It's missing a % sign before the third
02d
. It should read:
my $now = $today . sprintf('T%02d:%02d:%02d',$lt[2], $lt[1], $lt[0]);The bug is still in version 4.0.5 4.1.0 released KJL
ItemTemplate | |
---|---|
Summary | Typo in Time::parseInterval affects creation of "$now" |
ReportedBy | TWiki:Main.DiabJerius |
Codebase | 4.0.4 |
SVN Range | TWiki-4.1, Thu, 26 Oct 2006, build 11834 |
AppliesTo | Engine |
Component | |
Priority | Normal |
CurrentState | Closed |
WaitingFor | |
Checkins | 12288 |
TargetRelease | minor |