Hello Craig,

I personally prefer dates being formatted like this
"2007-02-07 17:41" above the other formats used in backuppc.

Now I hacked lib/BackupPC/CGI/Lib.pm (of version 2.1.2):
174a175
>     $year += 1900;
178c179
<         return sprintf("$mday/$mon %02d:%02d", $hour, $min);
---
>         return sprintf("%04d-%02d-%02d %02d:%02d", $year, $mon, $mday, $hour, 
> $min);

What do you think: could  something similar be placed in the next
release? Maybe the format of the date-string could be made
configurable. I would volonteer to write a patch, if you are
interested in such a thing.

Best regards,
Imre

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
BackupPC-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-devel
http://backuppc.sourceforge.net/

Reply via email to