Closed andylikescodes closed 5 years ago
As it turns out, MATLAB's datetime does not support the extended versions of ISO8601 which python uses.
The quickest fix is to go to types.util.checkDtype, look for 'isodatetime', and either comment out the datetime() conversion or add the desired format as per documentation.
Will follow up later.
Man, why are time standards always so hard?! Thanks for looking into this.
I'll take a crack at this
be30afae42f2440fd586ac10cca6521cd3d457b1 (the latest master commit) fixes this on my end. @andylikescodes, let me know if this works for you
Hi all,
The nwb file is created using pynwb.
Here is the code that used to create this nwb file.
The session_start_time and file_create_date are created using the python datetime package default now() function datetime.datetime.now().
However, when the nwb file is outputted in pynwb and read in to matlab using matnwb, the date time format cannot be recognized.
Here is the error message:
Is there any documentation for the InputFormat parameter?
Also, is it possible to make matnwb recognize some default date time format?
Thanks,