Commit 872ac546 authored by Abiyan Bagus Baskoro's avatar Abiyan Bagus Baskoro

BUGFIX: fix write convert log time

parent 4da79a81
...@@ -56,7 +56,7 @@ func ConvertLogTime(date string) string { ...@@ -56,7 +56,7 @@ func ConvertLogTime(date string) string {
t, err := time.Parse("2006-01-02 15:04:05.000", date) t, err := time.Parse("2006-01-02 15:04:05.000", date)
if err != nil { if err != nil {
fmt.Println("Error parsing timestamp:", err) fmt.Println("Error parsing timestamp:", err)
return "" return date
} }
// Format the timestamp in the desired format // Format the timestamp in the desired format
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment