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 }}
@if (Statamic::modify($date)->isLeapYear()->fetch()) ... @endif@if (Statamic::modify($another_date)->isLeapYear()->fetch()) ... @endif
truefalse