mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
pep8
This commit is contained in:
parent
d205255cb7
commit
893c8a970c
@ -194,9 +194,11 @@ def isoformat(date_time, assume_utc=False, as_utc=True, sep='T'):
|
||||
# str(sep) because isoformat barfs with unicode sep on python 2.x
|
||||
return unicode(date_time.isoformat(str(sep)))
|
||||
|
||||
|
||||
def internal_iso_format_string():
|
||||
return 'yyyy-MM-ddThh:mm:ss'
|
||||
|
||||
|
||||
def w3cdtf(date_time, assume_utc=False):
|
||||
if hasattr(date_time, 'tzinfo'):
|
||||
if date_time.tzinfo is None:
|
||||
|
Loading…
x
Reference in New Issue
Block a user