Short Date Format

To enable due dates entry in the SelfService interface and while viewing the
basics of a ticket, I’ve made a number of modifications. One is to the
Date.pm file itself to enable a “Short” version. The diff is below:

diff Date.pm.dist Date.pm
404a405,422

{{{ sub AsShortString

=head2 sub AsShortString

Returns the object's time as a string with only the date, no time.

=cut

sub AsShortString {
my $self = shift;
return ($self->loc(“Not set”)) if ($self->Unix <= 0);

my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) =

localtime($self->Unix);

return $self->loc("[_1] [_2] [_3]", $self->GetWeekday($wday),

$self->GetMonth($mon), ($year+1900));

}

}}}

Is there a process for submitting patches?