Ricerche recenti


Nessuna ricerca recente

Arthur Badin's Avatar

Arthur Badin

Data ingresso 28 gen 2025

·

Ultima attività 11 feb 2025

Seguiti

0

Follower

0

Attività totali

3

Voti

0

Abbonamento

1

PANORAMICA ATTIVITÀ

Ultima attività di Arthur Badin

Arthur Badin ha commentato,

Commento nella community 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!

Visualizza commento · Data ultima modifica: 11 feb 2025 · Arthur Badin

0

Follower

0

Voti

0

Commenti


Arthur Badin ha creato un post,

Post Developer - Zendesk APIs

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

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

Data ultimo post: 28 gen 2025 · Arthur Badin

0

Follower

3

Voti

2

Commenti