diff options
Diffstat (limited to 'httemplate/edit/process/svc_phone.html')
-rw-r--r-- | httemplate/edit/process/svc_phone.html | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/httemplate/edit/process/svc_phone.html b/httemplate/edit/process/svc_phone.html index e02ec5ccc..ddc938216 100644 --- a/httemplate/edit/process/svc_phone.html +++ b/httemplate/edit/process/svc_phone.html @@ -1,6 +1,7 @@ <% include( 'elements/svc_Common.html', 'table' => 'svc_phone', 'args_callback' => $args_callback, + 'value_callback' => $value_callback, ) %> <%init> @@ -24,6 +25,9 @@ my $args_callback = sub { }; - +my $value_callback = sub { + my ($field, $value) = @_; + ($field =~ /_date$/) ? parse_datetime($value) : $value; +}; </%init> |