mirror of
https://github.com/adtools/clib2.git
synced 2025-12-08 14:59:05 +00:00
- Small fixes to the scanf() family.
git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@14938 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Id: time_strftime.c,v 1.12 2005-05-07 14:03:08 obarthel Exp $
|
||||
* $Id: time_strftime.c,v 1.13 2005-05-08 11:27:26 obarthel Exp $
|
||||
*
|
||||
* :ts=4
|
||||
*
|
||||
@ -113,7 +113,9 @@ julian_day(int day,int month,int year)
|
||||
y = year + 4800 - a;
|
||||
m = month + 12 * a - 3;
|
||||
|
||||
result = day + (153 * m + 2) / 5 + 365 * y + (y/4) - (y/100) + (y/400) - 32045;
|
||||
result = day + (153 * m + 2) / 5 + 365 * y + (y / 4) - (y / 100) + (y / 400) - 32045;
|
||||
|
||||
return(result);
|
||||
}
|
||||
|
||||
STATIC int
|
||||
|
||||
Reference in New Issue
Block a user