fixed format tests

This commit is contained in:
2025-09-25 20:53:30 +02:00
parent 22d9da642a
commit 25138cc144
5 changed files with 13 additions and 9 deletions

View File

@@ -73,9 +73,9 @@ func (tp *TimestampProccessor) Parse(timestamp string) (time.Time, error) {
return ts, err
}
if tp.TZ != "" {
if tp.tz != "" {
// apply custom timezone
zone, _ := time.LoadLocation(tp.TZ)
zone, _ := time.LoadLocation(tp.tz)
ts = ts.In(zone)
}