chg: unifed the dateformat

This commit is contained in:
root 2019-08-18 17:43:54 +02:00
parent 63b47a003e
commit 7fc5fe6dd5

View file

@ -337,6 +337,8 @@ static int FpgaGatherVersion(FILE *infile, char *infile_name, char *dst, int len
for (uint16_t i = 0; i < fpga_info_len; i++) { for (uint16_t i = 0; i < fpga_info_len; i++) {
char c = (char)fgetc(infile); char c = (char)fgetc(infile);
if (i < sizeof(tempstr)) { if (i < sizeof(tempstr)) {
if ( c == '/' ) c = '-';
if ( c == ' ' ) c = '0';
tempstr[i] = c; tempstr[i] = c;
} }
} }