MATLAB: Does the Time/Date Stamp component in MATLAB Report Generator 1.3 (R13) insert an extra slash

componentdategeneratorMATLABMATLAB Report Generatorreportstamptime

Why does the Time/Date Stamp component in MATLAB Report Generator 1.3 (R13) insert an extra slash?
Using the Time/Date Stamp component in the MATLAB Report Generator, I clicked on "Include current date in stamp", and I selected "Slash (/)" in the "Date separator" list of available options. I used the "Year Month Day" date order. I also chose the "Numeric (12)" for the Month display, and the "long (1998)" for the Year display.
In the generated HTML report, there were two slashes between the YYYY/MM/DD components instead of just one. Here are two examples of outputs with double slashes:
1) HTML report creation date: 2003//1//9 (should be 2003/1/9)
2) HTML report creation date: 2003//1//21 (should be 2003/1/21)

Best Answer

  • This bug has been fixed in Release 14 Service Pack 2 (R14SP2). For previous releases, please read below for any possible workarounds:
    This is a bug in MATLAB Report Generator 1.3 (R13) that our development staff is currently investigating.
    There are currently no known workarounds.