Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with YAML transforming datetime to seconds #308

Open
mmanciop opened this issue Jun 5, 2019 · 1 comment
Open

Issues with YAML transforming datetime to seconds #308

mmanciop opened this issue Jun 5, 2019 · 1 comment

Comments

@mmanciop
Copy link

mmanciop commented Jun 5, 2019

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.

@cf-gitbot
Copy link

We have created an issue in Pivotal Tracker to manage this. Unfortunately, the Pivotal Tracker project is private so you may be unable to view the contents of the story.

The labels on this github issue will be updated when the story is started.

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

No branches or pull requests

2 participants