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
Hi,
in src/db_adapters/boss_db_adapter_pgsql.erl at line 456 and in src/boss_record_lib.erl at line 155 I see that a datetime like {{D1, D2, D3}, {T1, T2, T3} with T3 float is rounded with {{D1, D2, D3}, {T1, T2, round(T3)}} to get an Erlang-standard datetime. Isn't this wrong when T3 > 59.5 ? Isn't it going to round to 60 seconds?
The text was updated successfully, but these errors were encountered:
Hi,
in src/db_adapters/boss_db_adapter_pgsql.erl at line 456 and in src/boss_record_lib.erl at line 155 I see that a datetime like {{D1, D2, D3}, {T1, T2, T3} with T3 float is rounded with {{D1, D2, D3}, {T1, T2, round(T3)}} to get an Erlang-standard datetime. Isn't this wrong when T3 > 59.5 ? Isn't it going to round to 60 seconds?
The text was updated successfully, but these errors were encountered: