mirror of
https://codeberg.org/scip/ts.git
synced 2025-12-17 04:30:56 +01:00
fixed format tests
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user