Changes for version 0.018 - 2022-10-12
- No functional changes.
- [ux] Tweak schema's Abstracts (mention sample data).
Modules
Convert English day-of-week name (e.g. su, MON, Tuesday) to number (1-7, 1=Monday)
Convert English month name (e.g. Dec, april) to number (1-12)
Convert timezone offset strings like UTC-500, UTC, or UTC+12:30 to number of offset seconds from UTC
Generate completion for date::dow_num
Generate completion for date::dow_nums
Generate completion for date::month_num
Generate completion for date::month_nums
Day of month (1-31), e.g. 17
Day-of-week name (abbreviated or full, in English), e.g. "su" or "Monday"
Day-of-week number (1-7, 1=Monday, like DateTime), coercible from English day-of-week name (Mo/mon/MONDAY), e.g. 1 or "Mon"
Array of required date::dow_num (day-of-week, 1-7, 1=Monday, like DateTime, with coercions), e.g. [1,3,5]
Hour of day (0-23), e.g. 12
Minute of hour (0-59), e.g. 30
Month number/name (abbreviated or full, in English), e.g. 1 or "jan" or "September"
Month name (abbreviated or full, in English), e.g. jan or "September"
Month number, coercible from English month names (Dec/DECEMBER), e.g. 2 or "Feb"
Array of required month numbers (1-12, with coercions), e.g. [6,12]
Second of minute (0-60), e.g. 39
Timezone name (validity not checked), e.g. Asia/Jakarta
Timezone offset in seconds from UTC (only known offsets are allowd, coercible from string), e.g. 25200 or "+07:00"
Timezone offset in seconds from UTC (any offset is allowed, coercible from string), e.g. 1 or 25200 e.g. UTC+7
Year number (AD, starting from 1), e.g. 2022
Day of month (1-31), e.g. 17
Day-of-week name (abbreviated or full, in English), e.g. "su" or "Monday"
Day-of-week number (1-7, 1=Monday, like DateTime), coercible from English day-of-week name (Mo/mon/MONDAY), e.g. 1 or "Mon"
Array of required date::dow_num (day-of-week, 1-7, 1=Monday, like DateTime, with coercions), e.g. [1,3,5]
Hour of day (0-23), e.g. 12
Minute of hour (0-59), e.g. 30
Month number/name (abbreviated or full, in English), e.g. 1 or "jan" or "September"
Month name (abbreviated or full, in English), e.g. jan or "September"
Month number, coercible from English month names (Dec/DECEMBER), e.g. 2 or "Feb"
Array of required month numbers (1-12, with coercions), e.g. [6,12]
Second of minute (0-60), e.g. 39
Timezone name (validity not checked), e.g. Asia/Jakarta
Timezone offset in seconds from UTC (only known offsets are allowd, coercible from string), e.g. 25200 or "+07:00"
Timezone offset in seconds from UTC (any offset is allowed, coercible from string), e.g. 1 or 25200 e.g. UTC+7
Year number (AD, starting from 1), e.g. 2022
Sah schemas related to date