[Perl-workflow-devel] Date formats in Workflow/Persister/DBI.pm
Brought to you by:
jonasbn
From: Jim B. <cb...@bu...> - 2007-06-04 19:35:55
|
Hello all, I've been working with the Workflow module using Oracle as the DB back-end. I found that the default date formats didn't work with our Oracle DB. I was able to change them by hacking Workflow/Persister/DBI.pm, but I was wondering if there was a way to make this easier to configure. Maybe make the format something you could set in the persister.xml config file? Any other ideas? Anyone else have issues with the default data formats? The changes I made were like: #my $parser = DateTime::Format::Strptime->new( pattern => '%Y-%m-%d %H:%M' ); my $parser = DateTime::Format::Strptime->new( pattern => '%m:%d:%Y:%H:%M:%S' ); Thanks, Jim -- Jim Brandt Administrative Computing Services University at Buffalo |