Discussion about this post

User's avatar
Stephen Gruppetta's avatar

The one hour difference shouldn’t be linked to the f-string though. It could be earlier in your code?

Expand full comment
Stephen Gruppetta's avatar

Hi Rolf, this is a great note. I wrote this code for my personal use and it works but I use a non-standard format specifier which I believe doesn’t work on Windows. I assume you’re on Windows?

My version gives the hour without a leading zero but with a space. Normally I’d avoid these variations in my tutorials, but this wasn’t intended as a tutorial so I forgot!

Expand full comment
9 more comments...

No posts