How to translate an attribute to local day and month for automations?

Here’s another example for you (translate months and weekdays):