Skip to content

Commit

Permalink
Compute epoch using same formula as in datastore.
Browse files Browse the repository at this point in the history
Addresses:
#1021 (comment)
  • Loading branch information
tseaver committed Jul 29, 2015
1 parent ca4a1be commit 10eaddd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gcloud/bigquery/_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

import pytz

_EPOCH = datetime.datetime(1970, 1, 1, tzinfo=pytz.utc)
_EPOCH = datetime.datetime.utcfromtimestamp(0).replace(tzinfo=pytz.utc)


def _millis(when):
Expand Down

0 comments on commit 10eaddd

Please sign in to comment.