strftime flags on Linux systems
If you want to get the numeric month from strftime your only only is %m which is zero padded. So January is “01”. But what if you don’t want zero padding? Turns out that’s non-trivial, unless you’re on a system that supports strftime flags. Then you can use “%-m” for no padding (“1”) and “%_m” …