Fix api.drive[].date_modified example (#304)

This commit is contained in:
Richie B2B 2020-10-07 13:56:17 +02:00 committed by GitHub
parent e45b6ddf1b
commit 0efc4f4f5d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -260,7 +260,7 @@ You can access your iCloud Drive using an API identical to the Ubiquity one desc
>>> drive_file = api.drive['Holiday Photos']['2013']['Sicily']['DSC08116.JPG'] >>> drive_file = api.drive['Holiday Photos']['2013']['Sicily']['DSC08116.JPG']
>>> drive_file.name >>> drive_file.name
u'DSC08116.JPG' u'DSC08116.JPG'
>>> drive_file.modified >>> drive_file.date_modified
datetime.datetime(2013, 3, 21, 12, 28, 12) # NB this is UTC datetime.datetime(2013, 3, 21, 12, 28, 12) # NB this is UTC
>>> drive_file.size >>> drive_file.size
2021698 2021698