Sha256: 59623f20a0352d027fa545d18a9822e9c73c1de097de37dca9c9645f0b33dbaf

Contents?: true

Size: 187 Bytes

Versions: 4

Compression:

Stored size: 187 Bytes

Contents

<% if value.nil? %>
  <%= null %>
<% else %>
  <% value = Time.zone.parse value if value.is_a? String %>
  <% value = value.to_date if value.is_a? Time %>
  <%= I18n.l value %>
<% end %>

Version data entries

4 entries across 2 versions & 1 rubygems

Version Path
wallaby-4.1.6 app/views/wallaby/resources/index/_date.html.erb
wallaby-4.1.6 app/views/wallaby/resources/show/_date.html.erb
wallaby-5.0.1 app/views/wallaby/resources/index/_date.html.erb
wallaby-5.0.1 app/views/wallaby/resources/show/_date.html.erb