borevitzlab / spc-eyepi

Raspberry PI DSLR control code
https://borevitzlab.github.io/spc-eyepi
GNU General Public License v3.0
13 stars 3 forks source link

Date format is not correct *important* #12

Closed kdm9 closed 9 years ago

kdm9 commented 10 years ago

At https://github.com/borevitzlab/spc-eyepi/blob/master/timedcapture.py#L88

The format is STRICTLY

'{camname}_%Y_%m_%d_%H_%M_%S_{subsec:02d}.{ext}'.format(camname=camname, subsec=0, ext=ext)

Subsec can just be 0 always, this is used by other things.

kdm9 commented 10 years ago

Also, you can just use datetime.datetime.now().strftime(fmt), can't you?

gdunstone commented 9 years ago

fixed.