Skip to content

Add CURRENT_TZDIFF to snippet variables #120715

@yajo

Description

@yajo

When doing snippets, we have almost all required tools to indicate current time. However, what's still missing is timezone info.

My proposal is to add CURRENT_TZDIFF, which resolves to +01:00, -00:30, etc.

This way, we can represent an absolute time in a snippet, such as ${CURRENT_YEAR}-${CURRENT_MONTH}-${CURRENT_DATE}T${CURRENT_HOUR}:${CURRENT_MINUTE}:${CURRENT_SECOND}+${CURRENT_TZDIFF}

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions