Value-expression variables inside *…* / **…** segments no longer need backticks (the segment markers already mark code). Drop trailing spaces and de-tick value-expression variable names in tests and skill docs; keep backticks for string interpolation, call args, and method receivers. Co-authored-by: Cursor <cursoragent@cursor.com>
17 lines
242 B
Markdown
17 lines
242 B
Markdown
---
|
|
title: time format/parse
|
|
import time:lib/time.mq.md
|
|
---
|
|
|
|
# main
|
|
|
|
*s = > time.format unix=0 pattern=%Y-%m-%d*
|
|
|
|
> print text=`s`
|
|
|
|
*u = > time.parse text=1970-01-01 00:00:00 pattern=%Y-%m-%d %H:%M:%S*
|
|
|
|
> print text=`u`
|
|
|
|
> time.sleep_ms ms=0
|