Returns true
if date is in a leap year. Try and find a regular use for this one, we dare you.
date: November 2016another_date: November 2017
{{ if date | is_leap_year }}{{ if another_date | is_leap_year }}
truefalse
is_leap_year
ModifierReturns true
if date is in a leap year. Try and find a regular use for this one, we dare you.
date: November 2016another_date: November 2017
{{ if date | is_leap_year }}{{ if another_date | is_leap_year }}
truefalse
Submit improvements, related content, or suggestions through Github.
Betterify this page →