A check-in date that reads "2025-07-19" to a German guest and "19 Jul 2025" to an English one is the difference between a message that feels written for someone and one that feels generated. Bookboost uses Twig, so any date or time token can be reformatted, including into the guest's own language.
How this works
Insert the date token you want using the Token button in the editor, then add a formatting filter after a pipe character inside the same braces.
So a token that arrives as:
{{ your_date_token }}
becomes:
{{ your_date_token|date('d M Y') }}
Everything below is the part after the pipe. The token itself always comes from the Token button, so you never need to type it by hand.
A short date
Use this for compact displays, such as a summary line or anything a guest will read on a phone.
{{ your_date_token|date('d M Y') }}
Output:
Check-in: 19 Jul 2025
Check-out: 23 Jul 2025
A full date in the guest's language
Use format_date with a locale when you want the weekday and month spelled out, in the right language.
English:
{{ your_date_token|format_date('full', locale='en') }}
Output:
Check-in: Saturday, July 19, 2025
Check-out: Tuesday, July 22, 2025
Dutch:
{{ your_date_token|format_date('full', locale='nl') }}
Output:
Inchecken: zaterdag 19 juli 2025
Uitchecken: dinsdag 22 juli 2025
Swap the locale code for any language you send in, for example de, fr, es, or sv.
Times
Use format_time with one of four presets.
{{ your_time_token|format_time('short') }}
For a time of 10:30 UTC, the four presets give:
full gives 10:30:00 AM Coordinated Universal Time
long gives 10:30:00 AM UTC
medium gives 10:30:00 AM
short gives 10:30 AM
Short is almost always the one you want in a guest message. The others include seconds, and full spells out the time zone.
Date and time together
Use format_datetime, which takes a date format and a time format, then the locale.
{{ your_datetime_token|format_datetime('short', 'short', locale='de') }}
Output:
15.11.21, 10:30
Getting it right
Use format_date for long-form dates and date for compact ones. A full weekday and month reads well in a pre-arrival email, and badly in a table.
Match the locale to your language segmentation. There is no point formatting in Dutch if the rest of the message is in English.
Always preview against a real booking. A formatting filter applied to an empty token produces nothing at all, and it is easy to miss. See Test your campaigns.
What to do next
For what else Twig can do inside a campaign, see Dynamic content with Twig logic.
Getting help
Open Talk to Us in the left menu of the platform, or email support@bookboost.io. Paste the token and the filter you are using.