unrecognized date format from “dir” command for french users with july month
Hi Guys,
I have 2024b version and encountered a bug that was not here on previous version.
dir command generates a date (last modification on the file) for any file like ’26-sept.-2018 16:52:18′
then when using datenum or datevec on this output, it returns a correct date transformation.
However when the date includes month of july like this:
’17-juil.-2023 10:29:58′ (french abbreviation for july month)
datenum could not recognized this entry as a valid date.
Error message is:
Error using datenum (line 200)
Failed to convert input to date numbers.
Caused by:
Unable to perform assignment because the left and right sides have a different number of elements.
it works well for every french abbreviation of all months except for july.Hi Guys,
I have 2024b version and encountered a bug that was not here on previous version.
dir command generates a date (last modification on the file) for any file like ’26-sept.-2018 16:52:18′
then when using datenum or datevec on this output, it returns a correct date transformation.
However when the date includes month of july like this:
’17-juil.-2023 10:29:58′ (french abbreviation for july month)
datenum could not recognized this entry as a valid date.
Error message is:
Error using datenum (line 200)
Failed to convert input to date numbers.
Caused by:
Unable to perform assignment because the left and right sides have a different number of elements.
it works well for every french abbreviation of all months except for july. Hi Guys,
I have 2024b version and encountered a bug that was not here on previous version.
dir command generates a date (last modification on the file) for any file like ’26-sept.-2018 16:52:18′
then when using datenum or datevec on this output, it returns a correct date transformation.
However when the date includes month of july like this:
’17-juil.-2023 10:29:58′ (french abbreviation for july month)
datenum could not recognized this entry as a valid date.
Error message is:
Error using datenum (line 200)
Failed to convert input to date numbers.
Caused by:
Unable to perform assignment because the left and right sides have a different number of elements.
it works well for every french abbreviation of all months except for july. date format MATLAB Answers — New Questions









