lib/solaris/patchdiag_entry.rb
def date_s
      [
        Date::ABBR_MONTHNAMES[@date.mon], # month eg Jan
        @date.mday.to_s.rjust(2, '0'), # day of month
        (@date.year % 100).to_s.rjust(2, '0') # 2 digit year
      ].join('/')
    end
# Convert the Date object to a date string as found in patchdiag.xref.
Convert the Date object to a date string as found in patchdiag.xref.
Convert the Date object to a date string as found in patchdiag . xref .
def date_s
      [
        Date::ABBR_MONTHNAMES[@date.mon], 
        @date.mday.to_s.rjust(2, '0'), 
        (@date.year % 100).to_s.rjust(2, '0') 
      ].join('/')
    end
def date_s [ Date :: ABBR_MONTHNAMES [ @date . mon ] , @date . mday . to_s . rjust ( 2 , '0' ) , ( @date . year % 100 ) . to_s . rjust ( 2 , '0' ) ] . join ( '/' ) end
Convert the Date object to a date string as found in patchdiag.xref.
Convert the Date object to a date string as found in patchdiag . xref .
# month eg Jan # day of month # 2 digit year