Skip to content

Commit

Permalink
fix conversion issue
Browse files Browse the repository at this point in the history
  • Loading branch information
zm711 committed Sep 24, 2024
1 parent 673a67e commit da1d0c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neo/rawio/neuronexusrawio.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ def _parse_header(self):
time_info = stringified_date_list[2].split(':')
hour = int(time_info[0][-2:])
minute = int(time_info[1])
second = int(time_info[2])
second = int(float(time_info[2]))
microsecond = 1000 * 1000 * (float(time_info[2]) - second) # second -> micro is 1000 * 1000

rec_datetime = datetime.datetime(year, month, day, hour, minute, second, microsecond)
Expand Down

0 comments on commit da1d0c4

Please sign in to comment.