Búsquedas recientes


No hay búsquedas recientes

Arthur Badin's Avatar

Arthur Badin

Incorporación 28 ene 2025

·

Última actividad 11 feb 2025

Seguimientos

0

Seguidores

0

Actividad total

3

Votos

0

Suscripción

1

RESUMEN DE LA ACTIVIDAD

Última actividad de Arthur Badin

Arthur Badin hizo un comentario,

Comentario de la comunidad Developer - Zendesk APIs

Hey Erica,
 

We're using Help Center .hbs templates for the footer.
 

Example:

←footer.hbs→

© 2024. All rights reserved.

 

I was wondering if there's a way to get the current year using the templating language. Right now, we have to update it manually every year.

I found the date helper, but I'm not sure how to use it to get the current year or can we format it to include only year.

One idea is to wrap the year in a and update it dynamically using JavaScript, but that might cause a flash when the script runs. Is that the best approach, or is there a better way?

Thanks!

Ver comentario · Editado 11 feb 2025 · Arthur Badin

0

Seguidores

0

Votos

0

Comentarios


Arthur Badin creó una publicación,

Publicación Developer - Zendesk APIs

Any way to make current year in the footer dynamic? Ideally without using JavaScript. Something like this:

{{date "" format="YYYY"}}

Publicado 28 ene 2025 · Arthur Badin

0

Seguidores

3

Votos

2

Comentarios