Closed ritzk closed 3 weeks ago
@ritzk Thanks for the report. I'll investigate. This is odd since the resource doesn't validate or transform this value. It passes the value straight to the REST API.
@ritzk I wonder if this is timezone related. Where are you located vs the location of your JFrog instance?
@alexhung Everything is on EST (America/New_York).
@alexhung API needs zulu time - https://jfrog.com/help/r/xray-rest-apis/create-ignore-rule
curl ...
"expires_at":"2024-12-31T00:00:00Z"
tofu api does not except z time.
@ritzk Thanks for the hint! I'll fix the timestamp formating.
running this with go. I see the same timestamp in xray.
Time in EST: 2024-12-30 19:00:00 -0500 EST
Describe the bug tz is parsed in UTC, regardless of local tz on alpine.
When running apply for ignore rules
Requirements for and issue
ignore rules
Expected behavior tz should parsed in local tz, or provide the option to specify time with tz ( 2024-11-01T13:00-04:00/ 2024-11-01T13:00Z/...)