From 1492bec7b8a6484f4561f493f825f0327a605fad Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Thu, 17 Jun 2010 14:35:30 +0000
Subject: [PATCH] convert to the proper timezone (quick fix until this view is
 rewritten completly)

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36433 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../BankAccount_getAccountingTransactionList.xml                | 2 +-
 bt5/erp5_accounting/bt/revision                                 | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/BankAccount_getAccountingTransactionList.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/BankAccount_getAccountingTransactionList.xml
index 1b79eed487..1918c26e78 100644
--- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/BankAccount_getAccountingTransactionList.xml
+++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/BankAccount_getAccountingTransactionList.xml
@@ -149,7 +149,7 @@ for l in result:\n
                    , balance            = l.balance\n
                    , credit             = l.credit\n
                    , debit              = l.debit\n
-                   , date               = l.date\n
+                   , date               = l.date.toZone(l.getObject().getStartDate().timezone())\n
                    , section_title      = l.section_title\n
                    , specific_reference = l.specific_reference\n
                    )\n
diff --git a/bt5/erp5_accounting/bt/revision b/bt5/erp5_accounting/bt/revision
index 22028e1f0c..c7297bcdd9 100644
--- a/bt5/erp5_accounting/bt/revision
+++ b/bt5/erp5_accounting/bt/revision
@@ -1 +1 @@
-1289
\ No newline at end of file
+1290
\ No newline at end of file
-- 
2.30.9