Day names are back, they were probably "shadowed" by a dependency...

This commit is contained in:
echarp 2019-09-28 20:15:37 +02:00
parent 489238d2f4
commit 7a48b537c8
6 changed files with 6 additions and 1 deletions

View File

@ -33,7 +33,7 @@ module EventsHelper
def display_sameday(event)
t 'date.formats.same_day',
date: l(event.start_time.to_date, format: :long),
date: l(event.start_time.to_date, format: :at),
start: l(event.start_time, format: :hours),
end: l(event.end_time, format: :hours)
end

View File

@ -5,6 +5,7 @@ de:
period: Vom %{start} bis zum %{end}.
same_day: Am %{date} von %{start} bis %{end}.
long: '%A %e %B %Y'
at: '%A %e %B %Y'
time:
formats:
at: '%A %e %B %Y um %H:%M Uhr'

View File

@ -5,6 +5,7 @@ en:
period: From %{start} to %{end}.
same_day: On %{date} from %{start} to %{end}.
long: '%A %e %B %Y'
at: '%A %e %B %Y'
time:
formats:
at: '%A %e %B %Y at %Hh%M'

View File

@ -5,6 +5,7 @@ fr:
period: Du %{start} au %{end}.
same_day: Le %{date} de %{start} à %{end}.
long: '%A %e %B %Y'
at: '%A %e %B %Y'
time:
formats:
at: '%A %e %B %Y à %Hh%M'

View File

@ -5,6 +5,7 @@ nl:
period: Vanaf %{start} tot %{end}.
same_day: De %{date} vanaf %{start} tot %{end}.
long: '%A %e %B %Y'
at: '%A %e %B %Y'
time:
formats:
at: '%A %e %B %Y om %Hu%M'

View File

@ -5,6 +5,7 @@ pt-BR:
period: De %{start} até %{end}.
same_day: Em %{date} - %{start} às %{end}.
long: '%A, %e de %B de %Y'
at: '%A, %e de %B de %Y'
time:
formats:
at: '%A, %e de %B de %Y às %Hh%M'