Skip to content

time module #426

Open
Open
@cppforlife

Description

@cppforlife

Describe the problem/challenge you have

even though ytt does not have access to current time, it's handy to be able to work with date/time formats. for example i'd like to parse two iso8601 timestamps, compare them or increment/decrement them.

Example of a timestamp i'd like to work with (from k8s): creationTimestamp: "2021-06-11T05:00:49Z" and want to be able to add/substract durations (as desribed by go's time.Duration)

Describe the solution you'd like

i think exposing time functionality as provided by go will be the easiest way to go about this. lets discuss the api for time module in this issue.


Vote on this request

This is an invitation to the community to vote on issues, to help us prioritize our backlog. Use the "smiley face" up to the right of this comment to vote.

👍 "I would like to see this addressed as soon as possible"
👎 "There are other more important things to focus on right now"

We are also happy to receive and review Pull Requests if you want to help working on this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    carvel acceptedThis issue should be considered for future work and that the triage process has been completeddiscussionThis issue is not a bug or feature and a conversation is needed to find an appropriate resolutionenhancementThis issue is a feature request

    Type

    No type

    Projects

    • Status

      To Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions