git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@1782 57a11ea4-9604-0410-9ed3-97b8803252fd
zzzoldreleases/1.4
Linas Vepstas 27 years ago
parent e9d451b3b8
commit 902df5fcb3

@ -184,7 +184,7 @@ scanDate(const char *buff, int *day, int *month, int *year)
/* if the year entered is smaller than 100, assume we mean the current
century (and are not revising some roman emperor's books) */
if(iyear<100) {
iyear += ((int) ((now->tm_year+1900)/100)) * 100;
iyear += ((int) ((now->tm_year+1950-iyear)/100)) * 100;
}
if (year) *year=iyear;

Loading…
Cancel
Save