5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-20 06:36:21 +00:00

fix: fecha con formato según idioma

This commit is contained in:
maki 2024-02-15 17:18:38 -03:00
parent 90b14ce2b2
commit 78e478c004
3 changed files with 99 additions and 1 deletions

View file

@ -6,7 +6,7 @@
.col-10
.row
.col.col-1.mr-5
%p= comment['published'].to_datetime.strftime('%m/%d/%Y')
%p= comment['published'].to_datetime.strftime(t('date.format'))
.col
%p
%span.mr-2= t('.source_profile')

View file

@ -1,4 +1,53 @@
en:
date:
format: '%m/%d/%Y'
published_at: "Published at"
last_modified_at: "Last modification"
abbr_day_names:
- Mon
- Tue
- Wed
- Thu
- Fri
- Sat
- Sun
day_names:
- Monday
- Tuesday
- Wednesday
- Thursday
- Friday
- Saturday
- Sunday
abbr_month_names:
- Jan
- Feb
- Mar
- Apr
- May
- Jun
- Jul
- Aug
- Sep
- Oct
- Nov
- Dec
month_names:
- January
- February
- March
- April
- May
- June
- July
- August
- September
- October
- November
- December
time:
am: am
pm: pm
components:
instances_filters:
text_show: Show

View file

@ -1,4 +1,53 @@
es:
date:
format: '%d/%m/%Y'
published_at: "Publicado en"
last_modified_at: "Última modificación"
abbr_day_names:
- Lun
- Mar
- Mié
- Jue
- Vie
- Sáb
- Dom
day_names:
- Lunes
- Martes
- Miércoles
- Jueves
- Viernes
- Sábado
- Domingo
abbr_month_names:
- Ene
- Feb
- Mar
- Abr
- May
- Jun
- Jul
- Ago
- Sep
- Oct
- Nov
- Dic
month_names:
- Enero
- Febrero
- Marzo
- Abril
- Mayo
- Junio
- Julio
- Agosto
- Septiembre
- Octubre
- Noviembre
- Diciembre
time:
am: am
pm: pm
components:
instances_filters:
text_show: Ver