Skip to content

Commit 8117573

Browse files
Merge pull request #149 from project-flogo/datetime-ms-corection
Corrected millisecond
2 parents 45ac645 + e9bceb8 commit 8117573

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

function/datetime/common.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ func format(format string) string {
7272

7373
if strings.Contains(strings.ToLower(format), "ss") {
7474
format = strings.Replace(format, "ss", "05", -1)
75-
format = strings.Replace(format, "SS", "05", -1)
75+
format = strings.Replace(format, "SSS", "999", -1)
7676

7777
}
7878
return format

0 commit comments

Comments
 (0)