Method: DateTime#to_s

Defined in:
lib/date.rb

#to_sObject

:minute, :second, :second_fraction



1624
1625
1626
1627
# File 'lib/date.rb', line 1624

def to_s # 4p
  format('%.4d-%02d-%02dT%02d:%02d:%02d%s',
  year, mon, mday, hour, min, sec, zone)
end