Skip to content

Support for more custom time parsing with templates #281

@WillAnd31

Description

@WillAnd31

What would you like to be added:

It would be great to have greater control over the parsing of timestamps when using a template. Having a function like toTimestamp that takes in a timestamp (similar to toRFC3339Nano) and a layout and an optional timezone would be very helpful.

Why is this needed:

Right now, the only functions that are available for parsing time in templates are toRFC3339Nano and toUTC.

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