Returns true
if date is a weekday.
date: December 25 2015
{{ if date | is_weekday }}
@if (Statamic::modify($date)->isWeekday()->fetch()) ... @endif
true
is_weekday
ModifierReturns true
if date is a weekday.
date: December 25 2015
{{ if date | is_weekday }}
@if (Statamic::modify($date)->isWeekday()->fetch()) ... @endif
true
Submit improvements, related content, or suggestions through Github.
Betterify this page →