Skip to content

Commit 3d881c2

Browse files
committed
FIX(hf test go legacy): patch timestamp to RFC3339 format so it could be
parsed by config validation
1 parent 47d8f4e commit 3d881c2

File tree

1 file changed

+1
-1
lines changed
  • src/app/hardfork_test/src/internal/config

1 file changed

+1
-1
lines changed

src/app/hardfork_test/src/internal/config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ func (c *Config) HfSlotDelta() int {
153153
// FormatTimestamp formats a UNIX timestamp into the format used by the shell script
154154
func FormatTimestamp(unixTs int64) string {
155155
t := time.Unix(unixTs, 0).UTC()
156-
return t.Format("2006-01-02 15:04:05+00:00")
156+
return t.Format(time.RFC3339)
157157
}
158158

159159
// validateExecutable checks if a file exists and has executable permissions

0 commit comments

Comments
 (0)