From 0238392059628b43fa8a8c96bc07fb6c03a227c7 Mon Sep 17 00:00:00 2001 From: Florent Date: Tue, 13 Mar 2012 19:00:37 +0100 Subject: [PATCH] Add datetime field to Details --- weboob/capabilities/bill.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/weboob/capabilities/bill.py b/weboob/capabilities/bill.py index 3e81debd..0019f93c 100644 --- a/weboob/capabilities/bill.py +++ b/weboob/capabilities/bill.py @@ -17,7 +17,7 @@ # You should have received a copy of the GNU Affero General Public License # along with weboob. If not, see . - +from datetime import datetime from .base import CapBaseObject from .collection import ICapCollection, CollectionNotFound @@ -36,6 +36,7 @@ class Detail(CapBaseObject): CapBaseObject.__init__(self, 0) self.add_field('label', basestring) self.add_field('infos', basestring) + self.add_field('datetime', datetime) self.add_field('price', float) class Subscription(CapBaseObject):