method
w3cdtf

w3cdtf()
public
Hide source
# File lib/rss/rss.rb, line 37 def w3cdtf if usec.zero? fraction_digits = 0 else fraction_digits = Math.log10(usec.to_s.sub(/0*$/, '').to_i).floor + 1 end xmlschema(fraction_digits) end