datetime: Replace '"%c" % char' with '"%s" % char'.

MicroPython may have issues with unicode chars.
pull/234/merge
Paul Sokolovsky 2017-12-19 09:09:49 +02:00
rodzic fe2b6d473a
commit 45fffed699
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -1552,7 +1552,7 @@ class datetime(date):
Optional argument sep specifies the separator between date and
time, default 'T'.
"""
s = ("%04d-%02d-%02d%c" % (self._year, self._month, self._day,
s = ("%04d-%02d-%02d%s" % (self._year, self._month, self._day,
sep) +
_format_time(self._hour, self._minute, self._second,
self._microsecond))