grimoirelab-manuscripts icon indicating copy to clipboard operation
grimoirelab-manuscripts copied to clipboard

Uses pytz instead of datetime.timezone

Open harshalmittal4 opened this issue 6 years ago • 3 comments

Fixes #126

harshalmittal4 avatar Mar 19 '19 08:03 harshalmittal4

hey @jgbarah, thanks for the feedback. I tried finding an alternative to datetime.timezone for having all the dates in UTC standard timezone, and pytz appeared to me somehow since I used it somewhere earlier. Sorry, I understand this. I missed out on the thought of adding an extra dependency. But datetime.timezone was anyhow giving some error. So can pytz be, since it is very commonly used package? Or is there anything else we can do..

harshalmittal4 avatar Mar 21 '19 19:03 harshalmittal4

hey @jgbarah, can we use pandas for that, or shall I leave it for now..

harshalmittal4 avatar Mar 23 '19 14:03 harshalmittal4

What error are we trying to fix? Maybe I didn't understand the reasons for using pytz instead of timezone...

jgbarah avatar Mar 25 '19 09:03 jgbarah