Files
marqdo/public/features/14-datetime-url.mq.md
T
cflmyandCursor 687c168014 feat(parse): use nested YAML import: maps instead of one-liner binds
Frontmatter imports are now valid YAML (`import:` / `导入:` with bind→target
entries), removing spaced keys. Add `marqdo migrate imports`, hard-error the
old one-liner form, and migrate lib/ext/examples/tests/docs accordingly.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-23 19:33:58 +08:00

611 B

markup, title, description, import
markup title description import
occlusion Mid stdlib — datetime and url Calendar moments + URL/query parse (Mid2 M7)
dt url
lib/datetime.mq.md lib/url.mq.md

Time and addresses without plugins

Moments are maps {unix, zone, iso}. Parse HTTPS URLs and round-trip query strings in lib/url (segment encoding stays in net.url_encode).

main

epoch = > dt.from_unix unix=0 zone="Asia/Shanghai"

print text=iso)

u = > url.parse text="https://example.com/path?q=1#top"

print text=host) print text=query)