Fixes bug leftover from #53. Somehow I failed to catch this before I merged that PR.
Changes in this PR.
As it turns out, if you take the key-value pair of a Hash in an each call, you can modify it (as we were doing), but if you take the key and the value separately, modifications don't stick around.
Fixes bug leftover from #53. Somehow I failed to catch this before I merged that PR.
Changes in this PR.
As it turns out, if you take the key-value pair of a Hash in an
each
call, you can modify it (as we were doing), but if you take the key and the value separately, modifications don't stick around.That is:
Will properly result in
{az: 4, bz: 5, cz: 6}
, whereas:Will result in no changes to the Hash whatsoever.
Testing this PR.
Expected Output.
See the user time list properly round the times, rather than leave a Float.
@osuosl/devs