WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

add template userfunc for timestamp, with configurable format #142

@mimir-d

Description

@mimir-d

New feature: for usage in the test descriptor template json, add a new userfunc that takes the current server timestamp and renders it in the given format spec, as a string.

Proposal:

"param_formatted": "log_{{ timestamp '%H:%m:%s' }}",
"param_unix_stamp_by_default": "log_{{ timestamp }}"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions