Skip to content

Commit

Permalink
fix demo code, not needed but for cleanliness (#13)
Browse files Browse the repository at this point in the history
Signed-off-by: Yee Hing Tong <[email protected]>
  • Loading branch information
wild-endeavor authored Sep 19, 2023
1 parent 35b5c81 commit 52e4f5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flyteadmin/pkg/manager/impl/execution_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@ func (m *ExecutionManager) templateInputString(ctx context.Context, input string
var customFormattedTime string
if metadata != nil && metadata.ScheduledAt != nil {
t := time.Unix(metadata.ScheduledAt.GetSeconds(), 0)
customFormattedTime = fmt.Sprintf("%d-%02d-%02d", t.Year(), int(t.Month()), t.Second())
customFormattedTime = fmt.Sprintf("%d-%02d-%02d", t.Year(), int(t.Month()), t.Day())
} else {
customFormattedTime = "2023-09-58"
}
Expand Down

0 comments on commit 52e4f5f

Please sign in to comment.