UTC by default
Construct dates, timestamps, and fixed-offset time zones with predictable UTC behavior.
Human-friendly date and time utilities for Mojo, inspired by Arrow and focused on parsing, formatting, time zone conversion, spans, ranges, and relative time.
from morrow import Morrow
var utc = Morrow.get("2026-01-01 03:04:05Z")
print(utc)
var local = utc.to("+08:00")
print(local.format("YYYY-MM-DD HH:mm:ss ZZ"))Construct dates, timestamps, and fixed-offset time zones with predictable UTC behavior.
Use tokens such as YYYY, MMMM, Do, ZZ, X, and x for compact parsing and output.
Shift dates, iterate ranges, calculate spans, and humanize or dehumanize English distances.