Open billylanchantin opened 12 hours ago
Follow-up to: https://github.com/elixir-explorer/explorer/pull/1020.
Before we were always encoding microseconds like:
microsecond: {us, 6}
This PR changes that for when we have millisecond precision to:
microsecond: {us / 1_000 * 1_000, 3}
It's still 6 digits, but rounded down to the nearest 1,000.
Follow-up to: https://github.com/elixir-explorer/explorer/pull/1020.
Before we were always encoding microseconds like:
microsecond: {us, 6}
This PR changes that for when we have millisecond precision to:
microsecond: {us / 1_000 * 1_000, 3}
It's still 6 digits, but rounded down to the nearest 1,000.