You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2021/06/03 15:38:13 UTC

[GitHub] [trafficcontrol] ocket8888 opened a new issue #5911: TO API uses non-RFC3339 date/time strings

ocket8888 opened a new issue #5911:
URL: https://github.com/apache/trafficcontrol/issues/5911


   ## I'm submitting a ...
   -  other
   
   ## Traffic Control components affected ...
   -  Traffic Ops
   -  unknown
   
   ## 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.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [trafficcontrol] ocket8888 commented on issue #5911: TO API uses non-RFC3339 date/time strings

Posted by GitBox <gi...@apache.org>.
ocket8888 commented on issue #5911:
URL: https://github.com/apache/trafficcontrol/issues/5911#issuecomment-853985665


   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.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [trafficcontrol] ocket8888 commented on issue #5911: TO API uses non-RFC3339 date/time strings

Posted by GitBox <gi...@apache.org>.
ocket8888 commented on issue #5911:
URL: https://github.com/apache/trafficcontrol/issues/5911#issuecomment-853985665


   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.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org