The files should come out in the specified YYYY-MM-DD.png format. The main change is the way in which this formatting is handled, in this version it's handled in a single line:
filename = '{0}{1:04d}-{2:02d}-{3:02d}.png'.format(NEWdb, year, month, day)
« Back to merge proposal
The files should come out in the specified YYYY-MM-DD.png format. The main change is the way in which this formatting is handled, in this version it's handled in a single line:
filename = '{0}{1: 04d}-{2: 02d}-{3: 02d}.png' .format( NEWdb, year, month, day)