diff --git a/openant/fs/manager.py b/openant/fs/manager.py index 2d76396..495f560 100644 --- a/openant/fs/manager.py +++ b/openant/fs/manager.py @@ -332,7 +332,7 @@ def download_directory(self, callback=None): data = self.download(0, callback) return Directory.parse(data) - def set_time(self, time=datetime.datetime.utcnow()): + def set_time(self, time=datetime.datetime.now(datetime.UTC)): """ :param time: datetime in UTC, or None to set to current time """