Skip to content

Commit

Permalink
When creating a UDFTimestamp object, tm_month was copied into (#117)
Browse files Browse the repository at this point in the history
both the month and the day field.
This resulted in bogus timestamps in the final iso.
  • Loading branch information
rhuvendiek committed Sep 19, 2023
1 parent c7db248 commit 7f011fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pycdlib/udf.py
Original file line number Diff line number Diff line change
Expand Up @@ -1115,7 +1115,7 @@ def new(self, date_seconds):
self.timetype = 1
self.year = local.tm_year
self.month = local.tm_mon
self.day = local.tm_mon
self.day = local.tm_mday
self.hour = local.tm_hour
self.minute = local.tm_min
self.second = local.tm_sec
Expand Down

0 comments on commit 7f011fa

Please sign in to comment.