You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I retrieve a time value from the API that includes decimal seconds but the value is ".000," the decimal portion gets omitted.
As a result, it becomes unclear whether it includes the decimal seconds.
"Time that has decimal places" is not equivalent to "Time that DONT has decimal places". However, they look same value.
Example:
Time is 40.000:
Currently API output:
"times":{
"primary":"40S"
......
Expected output:
"times":{
"primary":"40.000S"
......
The text was updated successfully, but these errors were encountered:
A workaround could be adding the query parameter embed=game and checking game.data.ruleset["show-milliseconds"], though it's obviously not ideal due to the extra load. Could get that value through a separate GET request for the game and cache it, but the effectiveness depends on your use-case.
When I retrieve a time value from the API that includes decimal seconds but the value is ".000," the decimal portion gets omitted.
As a result, it becomes unclear whether it includes the decimal seconds.
"Time that has decimal places" is not equivalent to "Time that DONT has decimal places". However, they look same value.
Example:
Time is 40.000:
Currently API output:
Expected output:
The text was updated successfully, but these errors were encountered: