Committer: sbelyaev
LJSUP-10275: Some errors with creating and editing entries.U trunk/cgi-bin/LJ/Widget/EntryForm.pm
Modified: trunk/cgi-bin/LJ/Widget/EntryForm.pm =================================================================== --- trunk/cgi-bin/LJ/Widget/EntryForm.pm 2011-11-01 10:56:36 UTC (rev 20462) +++ trunk/cgi-bin/LJ/Widget/EntryForm.pm 2011-11-01 11:07:49 UTC (rev 20463) @@ -498,6 +498,12 @@ 'default' => "$year-$mon-$mday", 'disabled' => $opts->{'disabled_save'} }); + my $datetimeonly = LJ::html_datetime({ + 'name' => "date_ymd", + 'notime' => 1, + 'default' => "$year-$mon-$mday", + 'disabled' => $opts->{'disabled_save'} + }); $datetime .= "<span class='float-left'> </span>"; $datetime .= LJ::html_text({ @@ -578,7 +584,7 @@ } $out .= qq{ <span class="wrap entrydate-wrap-until"> - <span class="wrap-select">$datetime</span> + <span class="wrap-select">$datetimeonly</span> $date_diff_input <span class="wrap-calendar"><a id="currentdate-date" href="#">$monthlong $mday, $year</a><i class='i-calendar'></i></span> <span class='datetime'>