Skip to content

Commit

Permalink
Merge pull request #149 from project-flogo/datetime-ms-corection
Browse files Browse the repository at this point in the history
Corrected millisecond
  • Loading branch information
vijaynalawade committed Nov 18, 2021
2 parents 45ac645 + e9bceb8 commit 8117573
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion function/datetime/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func format(format string) string {

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

}
return format
Expand Down

0 comments on commit 8117573

Please sign in to comment.