[open-ils-commits] r12291 - trunk/Open-ILS/src/perlmods/OpenILS/Application (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Feb 24 22:04:07 EST 2009
Author: erickson
Date: 2009-02-24 22:04:06 -0500 (Tue, 24 Feb 2009)
New Revision: 12291
Modified:
trunk/Open-ILS/src/perlmods/OpenILS/Application/Trigger.pm
Log:
postgres doesn't seem to like bare year (%G), pass y-m-d (%F) instead
Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/Trigger.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/Trigger.pm 2009-02-25 02:46:01 UTC (rev 12290)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/Trigger.pm 2009-02-25 03:04:06 UTC (rev 12291)
@@ -72,7 +72,7 @@
my $event = Fieldmapper::action_trigger::event->new();
$event->target( $ident_value );
$event->event_def( $def->id );
- $event->run_time( $date->strftime( '%G %T%z' ) );
+ $event->run_time( $date->strftime( '%F %T%z' ) );
$editor->create_action_trigger_event( $event );
More information about the open-ils-commits
mailing list