Radical Design Course by Jack McDade

From the creator of Statamic

Learn how to make your websites standout and be remembered.

Taking your approach on designing things actually makes it fun, more natural, and overall easier.

— Dominik, Developer

is_leap_year Modifier

Returns true if date is in a leap year. Try and find a regular use for this one, we dare you.

date: November 2016
another_date: November 2017
{{ if date | is_leap_year }}
{{ if another_date | is_leap_year }}
true
false
Docs feedback

Submit improvements, related content, or suggestions through Github.

Betterify this page →
Hello there! Are you looking for the Statamic v2 documentation?