Link Search Menu Expand Document

Calendar

object

Attributes

calendar.dates

array of dates

The dates within this calendar month.

calendar.first_day

date

The first day in this calendar month. This can be used along with the Liquid’s date filter filter to display the name of the month, e.g. {{ calendar.next.first_day | date: "%B %Y" }}.

calendar.month

number

The number of the calendar month.

calendar.next

object

An object representing the next calendar month, which includes the following methods:

  • first_day
  • month
  • year

calendar.prev

object

An object representing the previous calendar month, which includes the following methods:

  • first_day
  • month
  • year

calendar.year

number

The number of the calendar year.