scriptorium/utils/date
Types
Values
pub fn days_in_month(month: Month, year: Int) -> Int
Get the number of days in a month in a given year.
pub fn month_to_short_string(
month: Month,
context: context.Context,
) -> String
Convert a month to a short month name string.
pub fn month_to_string(
month: Month,
context: context.Context,
) -> String
Convert a month to a month name string.
pub fn parse_month(month_int: Int) -> Result(Month, Nil)
Parse an integer into a month.