Skip to content

Issues with YAML transforming datetime to seconds #308

Description

@mmanciop

The following snipped leads to the default value showing up as 16200 (amount of seconds in '04:30') in Ops Manager:

      - name: time
        type: string
        label: Update time
        description: "Time of day when the update is executed (hh:mm format, in UTC)."
        default: '04:30'

Since tile generator strips the surrounding ', " or even type casts like !!str, there is nothing preventing YAML from converting 04:30 to 16200.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions