[Rt-commit] r18888 - rt/3.999/branches/datetime/lib/RT/Model
sartak at bestpractical.com
sartak at bestpractical.com
Fri Mar 20 12:46:39 EDT 2009
Author: sartak
Date: Fri Mar 20 12:46:38 2009
New Revision: 18888
Modified:
rt/3.999/branches/datetime/lib/RT/Model/Ticket.pm
Log:
Minor tweaks to RT::Model::Ticket
Modified: rt/3.999/branches/datetime/lib/RT/Model/Ticket.pm
==============================================================================
--- rt/3.999/branches/datetime/lib/RT/Model/Ticket.pm (original)
+++ rt/3.999/branches/datetime/lib/RT/Model/Ticket.pm Fri Mar 20 12:46:38 2009
@@ -406,9 +406,6 @@
unless defined $args{'priority'};
# {{{ Dates
- #TODO we should see what sort of due date we're getting, rather +
- # than assuming it's in ISO format.
-
#Set the due date. if we didn't get fed one, use the queue default due in
my $due;
if ( defined $args{'due'} ) {
@@ -550,11 +547,11 @@
time_estimated => $args{'time_estimated'},
time_left => $args{'time_left'},
type => $args{'type'},
- starts => $starts->iso,
- started => $started->iso,
- resolved => $resolved->iso,
- told => $told->iso,
- due => $due->iso
+ starts => $starts,
+ started => $started,
+ resolved => $resolved,
+ told => $told,
+ due => $due,
);
# Parameters passed in during an import that we probably don't want to touch, otherwise
More information about the Rt-commit
mailing list