From 66fbb599338c1bb18d8975a444a541b3a523ee75 Mon Sep 17 00:00:00 2001 From: Peter Portante Date: Tue, 14 Jul 2015 08:23:37 -0400 Subject: [PATCH] Use hour, min, sec to help deal with TZ issues --- trello/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trello/__init__.py b/trello/__init__.py index b7c69d37..7df736cd 100644 --- a/trello/__init__.py +++ b/trello/__init__.py @@ -924,7 +924,7 @@ def set_due(self, due): :title: due a datetime object """ - datestr = due.strftime('%Y-%m-%d') + datestr = due.strftime('%Y-%m-%dT%H:%M:%S') self._set_remote_attribute('due', datestr) self.due = datestr