[Rt-commit] rt branch, 4.2/rt-date-strftime, repushed

Shawn Moore shawn at bestpractical.com
Tue Dec 1 12:17:19 EST 2015


The branch 4.2/rt-date-strftime was deleted and repushed:
       was b53fa7120fc9735e43a1ba7e55c810b13c551acf
       now 719354847438bcb8148e8461d4fa5138335feedf

1:  99d8560 = 1:  99d8560 Factor a DateTimeObj method out of LocalizedDateTime
2:  b53fa71 ! 2:  7193548 Add an RT::Date->Strftime method
    @@ -8,9 +8,11 @@
     --- a/lib/RT/Date.pm
     +++ b/lib/RT/Date.pm
     @@
    -     return $dt;
    - }
    - 
    +         second     => $sec,
    +         nanosecond => 0,
    +     );
    ++}
    ++
     +=head3 Strftime FORMAT, [Timezone => 'user']
     +
     +Stringify the RT::Date according to the specified format. See
    @@ -25,11 +27,10 @@
     +        Timezone => 'user',
     +        @_,
     +    );
    -+
    + 
    +-    return $dt;
     +    my $dt = $self->DateTimeObj(%args);
     +    return $dt->strftime($format);
    -+}
    -+
    + }
    + 
      RT::Base->_ImportOverlays();
    - 
    - 1;



More information about the rt-commit mailing list