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
Setting the last_modified property of StreamResponse rounds the value to seconds if it is float or datetime. But different rounding mode is used for float or datetime. If it is a float (timestamp), it is rounded toward +infinity. If it is an instance of datetime, it is rounded toward -infinity.
Setting the
last_modified
property ofStreamResponse
rounds the value to seconds if it isfloat
ordatetime
. But different rounding mode is used forfloat
ordatetime
. If it is afloat
(timestamp), it is rounded toward +infinity. If it is an instance ofdatetime
, it is rounded toward -infinity.For example:
I don't know what direction is correct, but it should be the same.
The text was updated successfully, but these errors were encountered: