Class: Relaton::Render::Ogc::Date

Inherits:
Date
  • Object
show all
Defined in:
lib/relaton/render/date.rb

Instance Method Summary collapse

Instance Method Details

#renderObject



5
6
7
8
# File 'lib/relaton/render/date.rb', line 5

def render
  @type == "accessed" or @date&.sub(/-.*$/, "")
  @date
end