screencloud icon indicating copy to clipboard operation
screencloud copied to clipboard

Minute variable is always set to 01

Open angristan opened this issue 10 years ago • 10 comments

If I want my screenshot name like this : screenshot_%d-%m-20%y_%H-%m, I should have for exemple this : screenshot_09-01-2016_19-43.png. But I always get the last one like this : screenshot_09-01-2016_19-01.png. Alway 19:01, 20:01; etc

angristan avatar Jan 09 '16 18:01 angristan

I suspect by making your last %m a capital %M it will resolve your problem as 'm' is for month, 'M' is for minute. Try screenshot_%d-%m-20%y_%H-%M

DerSmythe avatar Jan 09 '16 19:01 DerSmythe

Okay, I'm dumb :D Do you know if I can put some random var in the name ?

angristan avatar Jan 09 '16 19:01 angristan

Try something like "%y%m%d_%H%M%S_{rnd_s}". It allows sorting by datetime while making it random

DerSmythe avatar Jan 09 '16 19:01 DerSmythe

Awesome, thank you :)

angristan avatar Jan 09 '16 21:01 angristan

Since the last update, all my files are named like this : screenshot_22-08-2016_b'oMpFhZQR' instead of screenshot_22-08-2016_oMpFhZQR for instance. Why is there b'....' now ?

angristan avatar Aug 22 '16 14:08 angristan

The problem seems to come from here https://github.com/olav-st/screencloud/blob/master/res/modules/ScreenCloud.py#L30

angristan avatar Nov 13 '16 16:11 angristan

This commit is the source of the problem https://github.com/olav-st/screencloud/commit/e8eb4a055e38643aeacb3806d3626b4c3f897e7f

angristan avatar Nov 13 '16 16:11 angristan

This is because of differences between Python 2 and Python 3.

olav-st avatar Nov 13 '16 17:11 olav-st

I see it has been fixed here https://github.com/olav-st/screencloud/issues/219, but there is no version 1.3.1 for Windows on the website ^^

angristan avatar Nov 13 '16 17:11 angristan

This issue has had no activity in the last 60 days. Please add a reply if you want to keep this issue active, otherwise it will be automatically closed after 30 days.

github-actions[bot] avatar May 04 '24 02:05 github-actions[bot]

This issue was closed because of inactivity. If this issue is still relevant, please re-open a new issue.

github-actions[bot] avatar Jun 12 '24 02:06 github-actions[bot]