synap5e / obs-screenshot-plugin

An OBS Studio filter plugin to save screenshots of a source/scene
GNU General Public License v2.0
136 stars 20 forks source link

Months in filenames are 0-indexed #13

Closed nstepien closed 2 years ago

nstepien commented 4 years ago

For example I've got a screenshot with the following filename:

2020-06-23_23-46-45.png

but I expect July to be 07 instead:

2020-07-23_23-46-45.png

It would be nice if this plugin would also respect the "Filename Formatting" setting, if that's possible. image

synap5e commented 4 years ago

Cheers, I'll fix it next time I do some work on this. https://github.com/synap5e/obs-screenshot-plugin/blob/master/screenshot-filter.c#L697 needs nowtime->tm_mon + 1

synap5e commented 2 years ago

Fixed in #32