Open
Description
Bug
When compressing a log event with a large timestamp, the decompressed timestamp is inconsistent with the original one.
Before compression: 3924-03-28 10:17:41.891
After compression: 2170-07-29 11:34:00.762
With further explorations, it was believed that this was caused by the execution of the following line:
It seems like the nanosecond precision causes the timestamp overflow; by removing line 737 the bug would be solved.
CLP version
Environment
macOS 14.2.1
Reproduction steps
echo "3924-03-28 10:17:41.891 This is a message from the future." > test.log
clp c archives test.log
clp x archives out
diff test.log out/test.log