Skip to content
This repository was archived by the owner on Oct 7, 2022. It is now read-only.

Commit ca1e3c1

Browse files
gppeixotoracevedoo
andauthored
refactor(record): use ISO8601 format for hour timestamp
Co-Authored-By: racevedoo <raa7@cin.ufpe.br>
1 parent 429df2a commit ca1e3c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/models/record.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ func (r *Record) FormatTimestampDay() string {
2020
}
2121

2222
func (r *Record) FormatTimestampHour() string {
23-
return r.Timestamp.Format("2006-01-02-15")
23+
return r.Timestamp.Format("2006-01-02T15")
2424
}
2525

2626
func (r *Record) GetId() string {

0 commit comments

Comments
 (0)