logbot: logs are out of order (1, 10, 11, 2, 20, ...) #10

Closed
opened 3 years ago by mb · 2 comments
mb commented 3 years ago

It sorts the numerical list as strings again.

It sorts the numerical list as strings again.
mb changed title from LogBot generate the log out of order (1, 10, 11, 2, 20, ...) to LogBot logs are out of order (1, 10, 11, 2, 20, ...) 3 years ago
rra commented 3 years ago

An easy fix would be to zeropad numbers so that 1 becomes 01 and 2 becomes 02.

An easy fix would be to zeropad numbers so that 1 becomes 01 and 2 becomes 02.
mb changed title from LogBot logs are out of order (1, 10, 11, 2, 20, ...) to logbot: logs are out of order (1, 10, 11, 2, 20, ...) 3 years ago
mb commented 3 years ago
Poster

Woops i don't remember how this was solved in the end, but it is in order again

Woops i don't remember how this was solved in the end, but it is in order again
mb closed this issue 3 years ago
Sign in to join this conversation.
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.