Closed paulo-ferraz-oliveira closed 4 years ago
I guess the question I have here is which is more appropriate: trunc
or round
?
I guess the question I have here is which is more appropriate:
trunc
orround
?
I asked myself the same question, initially, which is why my Pull Request's description was expressed as it was ("the code was accepted, thus the question was previously answered"). I'm no ISO 8601 expert so cannot presume to reply appropriately. I'm just the guy who completed the previous code change :D
Okay, let's go with it for now :-) If there are objections, reasons to go back to round, I'm sure we'll see a PR for that ;-)
If I understand this correctly, the previous change (53bd46f) was accepted as OK, which means that the fix I propose (following that change, incomplete) will not be surprising.
At the same time, I extend the Travis/Erlang versions to use, as to guarantee code checks are as "updated" as possible.
Note: tests are failing for (older) Erlang/OTP 15, 16, and 17, but the Travis logs aren't helping much.