mirror of
https://github.com/alibaba/canal.git
synced 2026-11-04 00:30:15 +08:00
fixed issue #4178 , support -00:00:00.12
This commit is contained in:
@@ -733,7 +733,7 @@ public final class RowsLogBuffer {
|
|||||||
|
|
||||||
String second = null;
|
String second = null;
|
||||||
if (intpart == 0) {
|
if (intpart == 0) {
|
||||||
second = "00:00:00";
|
second = frac < 0 ? "-00:00:00" : "00:00:00";
|
||||||
} else {
|
} else {
|
||||||
// 目前只记录秒,不处理us frac
|
// 目前只记录秒,不处理us frac
|
||||||
// if (cal == null) cal = Calendar.getInstance();
|
// if (cal == null) cal = Calendar.getInstance();
|
||||||
|
|||||||
Reference in New Issue
Block a user