method
iso8601_timediv
v1_9_1_378 -
Show latest stable
- Class:
DateTime
iso8601_timediv(n)private
No documentation available.
# File lib/date/format.rb, line 1289
def iso8601_timediv(n) # :nodoc:
strftime('T%T' +
if n < 1
''
else
'.%0*d' % [n, (sec_fraction / Rational(1, 10**n)).round]
end +
'%:z')
end