summaryrefslogtreecommitdiff
path: root/GroLUG/lib/GroLUG/M/DB
diff options
context:
space:
mode:
authordakkar <dakkar@luxion>2006-02-13 15:53:39 +0000
committerdakkar <dakkar@luxion>2006-02-13 15:53:39 +0000
commitc58b498f7060665e286b1b7eb978cebeed9e8655 (patch)
tree24a6e00ca314ca57c157c9684c2e582607ed1251 /GroLUG/lib/GroLUG/M/DB
parent r1314@narval: dakkar | 2006-02-10 19:50:50 +0100 (diff)
downloadIscrittiGroLUG-c58b498f7060665e286b1b7eb978cebeed9e8655.tar.gz
IscrittiGroLUG-c58b498f7060665e286b1b7eb978cebeed9e8655.tar.bz2
IscrittiGroLUG-c58b498f7060665e286b1b7eb978cebeed9e8655.zip
merge dalla branch
git-svn-id: svn://luxion/repos/IscrittiGroLUG/trunk@191 fcb26f47-9200-0410-b104-b98ab5b095f3
Diffstat (limited to 'GroLUG/lib/GroLUG/M/DB')
-rw-r--r--GroLUG/lib/GroLUG/M/DB/Pagamento.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/GroLUG/lib/GroLUG/M/DB/Pagamento.pm b/GroLUG/lib/GroLUG/M/DB/Pagamento.pm
index 23ee176..7c6f939 100644
--- a/GroLUG/lib/GroLUG/M/DB/Pagamento.pm
+++ b/GroLUG/lib/GroLUG/M/DB/Pagamento.pm
@@ -12,8 +12,8 @@ for my $col (qw(data_pagamento data_iscrizione data_scadenza)) {
__PACKAGE__->inflate_column(
$col,
{
- inflate => sub { DateTime::Format::Pg->parse_datetime(shift) },
- deflate => sub { DateTime::Format::Pg->format_datetime(shift) },
+ inflate => sub { DateTime::Format::Pg->parse_date(shift) },
+ deflate => sub { DateTime::Format::Pg->format_date(shift) },
});
}