On Tue 01 Nov 2016, Björn Lässig wrote:
> Hi,
> these days i got following entries in some of my summaries files:
> 
>   Backup-begin: 2016-10-30 02:58:47
>   Backup-complete: 2016-10-30 02:02:09
> 
> That happens when clocks are moved backwards from summer time.
> Please check the attached patch for errors, as my perl is getting
> rusty.

Patch basically looks like a good idea.
However, the perl documentation for the POSIX strftime() function says:

            If you want your code to be portable, your format ("fmt") argument
            should use only the conversion specifiers defined by the ANSI C
            standard (C89, to play safe). These are "aAbBcdHIjmMpSUwWxXyYZ%".

That said, using lowercase z as a format specifier should work on all
reasonable systems.

> BTW: Where is the source? git? svn? cvs?

It looks like it's SVN although I don't think it's publically available.
Keith should be able to give more details.


Paul
_______________________________________________
Dirvish mailing list
Dirvish@dirvish.org
http://www.dirvish.org/mailman/listinfo/dirvish

Reply via email to