Menu

#60 date format not quite working

Submitted Fault
open
nobody
5
2003-08-01
2003-08-01
ron
No

the two digit month format (%mmm%) outputs nothing.

the config file that contains this line:
ref: %yyyy%%mmmm%%dd%-%counter_1%
produces the correct output creating a file with the name
2003Aug01-24.txt (correct)

but modifying that same config file to:
ref: %yyyy%%mmm%%dd%-%counter_1% produces files
with names like: 200301-24.txt (incorrect)

sorry i don't know enough perl to fix it. i took a quick look
but it's over my head. should be simple enough for you tho
:)

great script by the way.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB