Alexander Belopolsky added the comment: > The problem here is that millisecond and nanosecond seems not to be > attributes of the datetime object.
millisecond = dt.microsecond // 1000 nanosecond = 0 # until we add it to datetime. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19475> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com