Use + for parameters, ordered-list branches, backtick identifiers, and quoted strings with escapes. Add writeback and subtask host libs, optional parameter defaults, narrative-bold comment fix, and defer view execution until preset stdin is submitted. Co-authored-by: Cursor <cursoragent@cursor.com>
30 lines
362 B
Markdown
30 lines
362 B
Markdown
---
|
|
title: lib/time
|
|
description: English time wrappers
|
|
---
|
|
|
|
## now_unix
|
|
|
|
**> host_now_unix**
|
|
|
|
## now_ms
|
|
|
|
**> host_now_ms**
|
|
|
|
## format
|
|
+ `unix`
|
|
+ `pattern`
|
|
|
|
**> host_format_time unix=`unix` pattern=`pattern`**
|
|
|
|
## sleep_ms
|
|
+ `ms`
|
|
|
|
**> host_sleep_ms ms=`ms`**
|
|
|
|
## parse
|
|
+ `text`
|
|
+ `pattern`
|
|
|
|
**> host_parse_time text=`text` pattern=`pattern`**
|