-
Notifications
You must be signed in to change notification settings - Fork 343
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
TO API uses non-RFC3339 date/time strings #5911
Labels
high difficulty
the estimated level of effort to resolve this issue is high
medium impact
impacts a significant portion of a CDN, or has the potential to do so
tech debt
rework due to choosing easy/limited solution
Traffic Ops
related to Traffic Ops
Milestone
Comments
In practice we use UTC everywhere of which I know, but this time format is not capable of representing all time zones, should that ever come up. |
ocket8888
added
high difficulty
the estimated level of effort to resolve this issue is high
medium impact
impacts a significant portion of a CDN, or has the potential to do so
labels
Dec 1, 2021
jagan-parthiban
added a commit
to jagan-parthiban/trafficcontrol
that referenced
this issue
Mar 17, 2023
This was referenced Mar 17, 2023
ocket8888
pushed a commit
that referenced
this issue
Apr 19, 2023
…7408) * This fixes service_category apis to respond with RFC3339 date/time strings. Issue: #5911 * This fixes service_category apis to respond with RFC3339 date/time strings. * This fixes service_category apis to respond with RFC3339 date/time strings. This commit removed new struct TimeRFC3339 and uses time.Time instead * This commit removed new struct TimeRFC3339 and uses time.Time instead * #7413 Removing dependency of service catergory on generic cruder for V5 version * Corrected Error messages statement * Added Doc content for RFC 3339 Date/Time Format and updated service category docs. * Updated Http Get operations for Service Category V5 to handle If-Modified-Since request HTTP header * Added Unit Test Cases for V5 service_category functions * Updated comments for the V5 service category functions. * Updated CHANGELOG.md * Added Unit test for db_helpers.go * Addressed Code review from the PR. * Addressed Code review from the PR. * Addressed Code review from the PR. * Addressed Code review from the PR.
This was referenced May 3, 2023
This was referenced May 26, 2023
This was referenced Jun 9, 2023
4 tasks
4 tasks
This was referenced Jul 3, 2023
This was referenced Jul 11, 2023
4 tasks
4 tasks
4 tasks
4 tasks
This was referenced Aug 22, 2023
4 tasks
All APIs that were affected by implementing RFC3339 have been updated. |
found another |
4 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
high difficulty
the estimated level of effort to resolve this issue is high
medium impact
impacts a significant portion of a CDN, or has the potential to do so
tech debt
rework due to choosing easy/limited solution
Traffic Ops
related to Traffic Ops
I'm submitting a ...
Traffic Control components affected ...
Current behavior:
Traffic Ops API responses frequently return our custom format for date/times:
YYYY-MM-DD hh:mm:ss-ZZ
("2006-01-02 15:04:05-07"
is the actual Go format string).Expected behavior:
The Traffic Ops API (in the latest API version, where the behavior is breakable) should respond with RFC3339-format date strings.
Minimal reproduction of the problem with instructions:
Make most any TO API request.
The text was updated successfully, but these errors were encountered: