module Storefront module Semantic module TimeHelper def semantic_time_tag(value, time, options = {}) capture_haml do haml_tag :time, :class => "dtstart", :itemprop => "startDate", :title => time.xmlschema, :datetime => time.xmlschema do haml_tag :span, :class => "value-title", :title => time.xmlschema haml_concat value end end end end end end