X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FReaction%2FUI%2FViewPort%2FField%2FMutable%2FDateTime.pm;h=654f0d81375a20a3b9b071c5ce1123e258e9a4cc;hb=ae3f3fcc9b8807da0b382a20e7b6612bd9f49c00;hp=3b38d261cdc971ded9aa826a5a334cd051f8a409;hpb=02e3a86cb7bd4a7b91e976f84dc5424cb8d188db;p=catagits%2FReaction.git diff --git a/lib/Reaction/UI/ViewPort/Field/Mutable/DateTime.pm b/lib/Reaction/UI/ViewPort/Field/Mutable/DateTime.pm index 3b38d26..654f0d8 100644 --- a/lib/Reaction/UI/ViewPort/Field/Mutable/DateTime.pm +++ b/lib/Reaction/UI/ViewPort/Field/Mutable/DateTime.pm @@ -17,7 +17,7 @@ class 'Reaction::UI::ViewPort::Field::Mutable::DateTime', my $dt = 'DateTime'->from_epoch( epoch => $epoch ); $self->value($dt); } else { - $self->message("Could not parse date or time"); + $self->value($self->value_string); } };