From e9455c050fecb2c66e52332b6747e41500e718ab Mon Sep 17 00:00:00 2001
From: Romain Courteaud <romain@nexedi.com>
Date: Mon, 2 Apr 2007 15:43:50 +0000
Subject: [PATCH] Bug fix: copy the timezone in which the date is represented.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13857 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5Type/DateUtils.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/product/ERP5Type/DateUtils.py b/product/ERP5Type/DateUtils.py
index 3788310e14..55fce9a60d 100644
--- a/product/ERP5Type/DateUtils.py
+++ b/product/ERP5Type/DateUtils.py
@@ -97,7 +97,7 @@ def addToDate(date, to_add=None, **kw):
                                                 return_value['hour'],
                                                 return_value['minute'],
                                                 return_value['second'],
-                                                date.localZone()))
+                                                date.timezone()))
   return_date += day_to_add
   return return_date
   
-- 
2.30.9