You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2018/06/14 13:10:47 UTC

[GitHub] llozanoc opened a new pull request #5200: Convert dttm to utc to avoid errors with different timezones

llozanoc opened a new pull request #5200: Convert dttm to utc to avoid errors with different timezones
URL: https://github.com/apache/incubator-superset/pull/5200
 
 
   Working with PostgreSQL I had some problems with the datetimes with time zone. When I tried to query these types I got an error:  *{TypeError}Timestamp subtraction must have the same timezones or no timezones*
   
   This pull request fix an error in the  datetime_to_epoch method from superset\utils.py to avoid make operations with diferent timezones.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org