fix document test
[epoint] / pkg / document / document.go
index 3deaef2..b82b167 100644 (file)
@@ -679,7 +679,7 @@ func parseDate(s string) (int64, error) {
 }
 
 func formatDate(i int64) string {
-       return time.Unix(i,0).Format(time.RFC3339)
+       return time.Unix(i,0).UTC().Format(time.RFC3339)
 }
 
 func getLine(data []byte) (line, rest []byte) {