Sha256: ba97750c8d2f1ce1f6e677bd786134094623eb2924768090e24b0c2e15c17a0e
Contents?: true
Size: 1.01 KB
Versions: 20
Compression:
Stored size: 1.01 KB
Contents
# HTML writer # dateTime # History: # Stan Smith 2015-03-23 original script module ADIWG module Mdtranslator module Writers module Html class MdHtmlDateTime def initialize(html) @html = html end def writeHtml(hDatetime) # datetime - required @html.text!(hDatetime[:dateTime].to_s) # datetime type s = hDatetime[:dateType] if !s.nil? @html.em(' Type: ') @html.text!(hDatetime[:dateType]) end # datetime resolution - set by reader @html.em(' Resolution: ') @html.text!(hDatetime[:dateResolution]) @html.br end # writeHtml end # class end end end end
Version data entries
20 entries across 20 versions & 1 rubygems