Files
marqdo/public/features/14-datetime-url.mq.md

981 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

返回 类型 说明
result any None; execute this page's documented steps in order and observe their output or stated effects

We first epoch = [Compute epoch](dt.from_unix(unix=0, zone="Asia/Shanghai")) for the next step. We now [Display this step's result](> print text=iso)).

We first u = Compute u for the next step. We now [Display this step's result](> print text=host)). We now [Display this step's result](> print text=query)).