Patch level : 12.0 1026
Files correlati : ca0.exe ca2.exe ce0.exe ce2.exe cg0.exe cg2.exe ci0.exe ci2.exe db0.exe in0.exe lv0.exe lv2.exe li0.exe mg0.exe mg1.exe pr0.exe sc0.exe ve0.exe ve2.exe Commento : Aggiornata l'immissione delle date con anno a due cifre. Ora gestisce fino al 2040.
This commit is contained in:
parent
f91d0a0912
commit
4c024d3cd6
@ -2986,7 +2986,7 @@ const char* TDate_field::win2raw(
|
||||
y = oggi.year();
|
||||
}
|
||||
if (y < 100)
|
||||
y += (y <= 20) ? 2000 : 1900;
|
||||
y += (y <= 40) ? 2000 : 1900;
|
||||
s.format("%02d-%02d-%4d", int(d), m, y);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user