• lavamind's avatar
    Remove zero-padding from nowday and whenday (fixes #9397) · f9529d1d
    lavamind authored
    This fixes cases where the day component of the when parameter resolved
    to a non-zero padded integer under 10, such as "when = 1st at 01"
    
    The comparison against the nowday variable failed consistently since
    the date command format used always returned a zero-padded two digit
    integer.
    
    The solution chosen is to avoid generating nowday with zero-padding and
    remove any zero-padding from whenday parameter using a more thorough
    sed pattern which now also removes any non-alphanumeric characters from
    the string.
    f9529d1d
Name
Last commit
Last update
etc Loading commit data...
examples Loading commit data...
handlers Loading commit data...
lib Loading commit data...
man Loading commit data...
src Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
FAQ.md Loading commit data...
INSTALL.md Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README.md Loading commit data...
RELEASE.md Loading commit data...
TODO Loading commit data...
Vagrantfile Loading commit data...
autogen.sh Loading commit data...
backupninja.spec.in Loading commit data...
configure.ac Loading commit data...