projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT 4.0.22
[freeside.git]
/
rt
/
share
/
html
/
Elements
/
EditCustomFieldDateTime
diff --git
a/rt/share/html/Elements/EditCustomFieldDateTime
b/rt/share/html/Elements/EditCustomFieldDateTime
index
edf125e
..
b50ea43
100644
(file)
--- a/
rt/share/html/Elements/EditCustomFieldDateTime
+++ b/
rt/share/html/Elements/EditCustomFieldDateTime
@@
-46,7
+46,7
@@
%#
%# END BPS TAGGED BLOCK }}}
% my $name = $NamePrefix.$CustomField->Id.'-Values';
%#
%# END BPS TAGGED BLOCK }}}
% my $name = $NamePrefix.$CustomField->Id.'-Values';
-<& /Elements/SelectDate, Name => "$name", current => 0
&> (<%$DateObj->AsString
%>)
+<& /Elements/SelectDate, Name => "$name", current => 0
, $KeepValue && $Default ? (Default => $Default) : () &> (<%$DateObj->AsString($KeepValue ? ( Timezone => 'utc' ) : () )
%>)
<%INIT>
my $DateObj = RT::Date->new ( $session{'CurrentUser'} );
<%INIT>
my $DateObj = RT::Date->new ( $session{'CurrentUser'} );
@@
-60,4
+60,5
@@
$Default => undef
$Values => undef
$MaxValues => 1
$Format => 'ISO'
$Values => undef
$MaxValues => 1
$Format => 'ISO'
+$KeepValue => undef
</%ARGS>
</%ARGS>