X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=rt%2Fshare%2Fhtml%2FElements%2FEditCustomFieldDateTime;h=e8ebf9b18fc3533eb624056d4da311d0c8ecd70b;hb=01721976fa3324f41a3093cda68bc38a7eec5ff5;hp=b50ea431a0dab19bfcc9e70a2b4f4a02f05abdfa;hpb=4e7efe58f1a20dfc4fd306fad2c14c8040585be1;p=freeside.git diff --git a/rt/share/html/Elements/EditCustomFieldDateTime b/rt/share/html/Elements/EditCustomFieldDateTime index b50ea431a..e8ebf9b18 100644 --- a/rt/share/html/Elements/EditCustomFieldDateTime +++ b/rt/share/html/Elements/EditCustomFieldDateTime @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2014 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2017 Best Practical Solutions, LLC %# %# %# (Except where explicitly superseded by other copyright notices) @@ -45,7 +45,7 @@ %# those contributions and any derivatives thereof. %# %# END BPS TAGGED BLOCK }}} -% my $name = $NamePrefix.$CustomField->Id.'-Values'; +% my $name = $Name || $NamePrefix.$CustomField->Id.'-Values'; <& /Elements/SelectDate, Name => "$name", current => 0, $KeepValue && $Default ? (Default => $Default) : () &> (<%$DateObj->AsString($KeepValue ? ( Timezone => 'utc' ) : () )%>) <%INIT> @@ -59,6 +59,7 @@ $NamePrefix => undef $Default => undef $Values => undef $MaxValues => 1 +$Name => undef $Format => 'ISO' $KeepValue => undef