I am trying to display an array of timestamps in human readable form. Array comes from db, and I send it into the template, where the iterations happens.
t.Timestamp is a string, comes from the db
t.TimeStamp = strconv.Atoi(t.TimeStamp) and error came up: multiple-value strconv.Atoi() in single-value context
I don't understand why it does that. If someone could help me figure this out, please? Also if you know a better and quicker way of turning a string timestamp into a UTC date, I would greatly appreciate the help.