1
0
Fork 0
mirror of synced 2024-10-02 18:16:29 +13:00

Fix date test examples

This commit is contained in:
Adria Navarro 2024-01-19 14:05:35 +01:00
parent daa87915e8
commit f783602d9f
2 changed files with 4 additions and 1 deletions

View file

@ -1196,7 +1196,7 @@
"durationType"
],
"numArgs": 2,
"example": "{{duration timeLeft \"seconds\"}} -> a few seconds",
"example": "{{duration 8 \"seconds\"}} -> a few seconds",
"description": "<p>Produce a humanized duration left/until given an amount of time and the type of time measurement.</p>\n"
}
}

View file

@ -1,6 +1,9 @@
const fs = require("fs")
const { processString } = require("../src/index.cjs")
const tk = require("timekeeper")
tk.freeze("2021-01-21T12:00:00")
const manifest = JSON.parse(
fs.readFileSync(require.resolve("../manifest.json"), "utf8")
)