Skip to content

Commit

Permalink
Fix tz comment in list_versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Bounds committed Oct 22, 2015
1 parent 1c02807 commit 145f4e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arctic/store/version_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ def list_versions(self, symbol=None, snapshot=None, latest_only=False):
continue
seen_symbols.add(version['symbol'])
versions.append({'symbol': version['symbol'], 'version': version['version'],
# We return naive datetimes in Local Time.
# We return offset-aware datetimes in Local Time.
'date': ms_to_datetime(datetime_to_ms(version['_id'].generation_time)),
'snapshots': self._find_snapshots(version.get('parent', []))})
return versions
Expand Down

0 comments on commit 145f4e5

Please sign in to comment.