Klaus Demo nginx / 66f76d2
style and comment fix Igor Sysoev 15 years ago
1 changed file(s) with 3 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
242242 */
243243
244244 if (--month <= 0) {
245 month += 12;
246 year -= 1;
245 month += 12;
246 year -= 1;
247247 }
248248
249249 /* Gauss's formula for Grigorian days from 1 March 1 BC */
254254
255255 /*
256256 * 719527 days were between March 1, 1 BC and March 1, 1970,
257 * 31 and 28 days in January and February 1970
257 * 31 and 28 days were in January and February 1970
258258 */
259259
260260 - 719527 + 31 + 28) * 86400 + hour * 3600 + min * 60 + sec;