Skip to content

Commit

Permalink
Make that a timezone-aware object.
Browse files Browse the repository at this point in the history
  • Loading branch information
ralphbean committed Oct 27, 2015
1 parent 9958d66 commit 49abe33
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bugwarrior/services/pagure.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import re
import six
import datetime
import pytz

import requests

Expand Down Expand Up @@ -67,7 +68,7 @@ def to_taskwarrior(self):
self.TITLE: self.record['title'],
self.ID: self.record['id'],
self.DATE_CREATED: datetime.datetime.fromtimestamp(
int(self.record['date_created'])),
int(self.record['date_created']), pytz.UTC),
}

def get_tags(self):
Expand Down

0 comments on commit 49abe33

Please sign in to comment.