Skip to content
This repository has been archived by the owner on Jan 23, 2025. It is now read-only.

Commit

Permalink
update time string formating
Browse files Browse the repository at this point in the history
Signed-off-by: ianmuchyri <ianmuchiri8@gmail.com>
  • Loading branch information
ianmuchyri authored and dborovcanin committed Mar 14, 2024
1 parent 9e23030 commit a8d3377
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -2669,7 +2669,7 @@ func parseTemplates(mfsdk sdk.SDK, prefix string) (tpl *template.Template, err e
if t == 0 {
return ""
}
return time.UnixMilli(int64(t)).String()
return time.UnixMilli(int64(t)).Format(time.RFC1123)
},
"hasPermission": func(permissions []string, permission string) bool {
return slices.Contains(permissions, permission)
Expand Down

0 comments on commit a8d3377

Please sign in to comment.