You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm using julia to read data files with hourly observations. These also include data at midnight, recorded as 24:00 rather than 00:00. This gives an error upon reading, for example:
DateTime("2018-01-01 24:00","yyyy-mm-dd HH:MM")
ERROR: ArgumentError: Hour: 24 out of range (0:23)
It might be good to make an exception for 24:00, changing to 00:00 the next day, but I'm not sure how/where to change this. (I have little experience with julia so far). Thanks for advice!
The text was updated successfully, but these errors were encountered:
Hi, I'm using julia to read data files with hourly observations. These also include data at midnight, recorded as 24:00 rather than 00:00. This gives an error upon reading, for example:
DateTime("2018-01-01 24:00","yyyy-mm-dd HH:MM")
ERROR: ArgumentError: Hour: 24 out of range (0:23)
It might be good to make an exception for 24:00, changing to 00:00 the next day, but I'm not sure how/where to change this. (I have little experience with julia so far). Thanks for advice!
The text was updated successfully, but these errors were encountered: