python-syntax icon indicating copy to clipboard operation
python-syntax copied to clipboard

datetime formatting in "{}" formay string

Open anntzer opened this issue 10 years ago • 0 comments

print("Today is {:%A %B %d}".format(datetime.date.today())) is highlighted incorrectly. mrrech/python-syntax@8b431340bad5354457e265db7be25edd73f4b281 provides a "partial" fix but it's not really enough.

anntzer avatar Aug 10 '15 05:08 anntzer