New submission from Pridhvi Myneni <bluera...@gmail.com>:
My system has python from MSYS2 integrated with my windows environment, so I can't test if Windows exhibits the same issue; however, this works perfectly in Ubuntu. The issue is %-d, %-I don't work as expected and instead cause the function call to return an empty string. Steps to reproduce: import datetime now = datetime.datetime.now() now.strftime("%-I") ... ---------- messages: 379018 nosy: PMARINA priority: normal severity: normal status: open title: strftime returns empty string for -d, -I 3.8.3 type: behavior versions: Python 3.8 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue42091> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com