SiT! Bugs

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000819SiT!otherpublic2009-07-28 20:282011-08-15 12:58
ReporterTomse 
Assigned ToTomse 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusassignedResolutionopen 
PlatformOSOS Version
Product Version3.45 
Target VersionFixed in Version 
Summary0000819: date() functions needs to be ldate()
Descriptionincident_update.php
at lines : 585, 588
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
User avatar (0001984)
ivan (administrator)
2009-09-17 17:07

need to double check this
User avatar (0004185)
ivan (administrator)
2011-08-06 20:03

the line numbers have of course changed since the original report but I think this is referring to this bit of code.

    if ($timeofnextaction > ($oldtimeofnextaction + 60))
    {
        $timetext = "Next Action Time: ";
        if (($oldtimeofnextaction - $now) < 1) $timetext .= "None";
        else $timetext .= date("D jS M Y @ g:i A", $oldtimeofnextaction);
        $timetext .= " -> ";
        if ($timeofnextaction < 1) $timetext .= "None";
        else $timetext .= date("D jS M Y @ g:i A", $timeofnextaction);
        $timetext .= "
\n\n";
        $bodytext = $timetext.$bodytext;
    }

I think these should be 'date()' because the dates are stored as text in the database, but i'm not 100% sure to be honest.
User avatar (0004231)
Tomse (developer)
2011-08-15 12:58

tbh, I don't remember I think I bumped into this after discussing that all date() should be converted to ldate(), or atleast almost all.

- Issue History
Date Modified Username Field Change
2009-07-28 20:28 Tomse New Issue
2009-09-17 17:07 ivan Note Added: 0001984
2009-09-17 17:07 ivan Status new => acknowledged
2010-03-21 19:04 paulh Summary date() funktions needs to be ldate() => date() functions needs to be ldate()
2011-08-06 20:03 ivan Note Added: 0004185
2011-08-06 20:03 ivan Assigned To => Tomse
2011-08-06 20:03 ivan Status acknowledged => feedback
2011-08-15 12:58 Tomse Note Added: 0004231
2011-08-15 12:58 Tomse Status feedback => assigned


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker