Changeset 2aadf2b in mainline for uspace/lib/posix/time.c
- Timestamp:
- 2011-08-16T19:17:46Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 903bd436
- Parents:
- 49160c4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/time.c
r49160c4 r2aadf2b 329 329 return tm->tm_year - 1; 330 330 } 331 if (day > 364 + _is_leap_year(tm->tm_year)) {331 if (day > 364 + _is_leap_year(tm->tm_year)) { 332 332 /* First week of next year. */ 333 333 return tm->tm_year + 1; … … 368 368 return 53; 369 369 } 370 if (day > 364 + _is_leap_year(tm->tm_year)) {370 if (day > 364 + _is_leap_year(tm->tm_year)) { 371 371 /* First week of next year. */ 372 372 return 1;
Note:
See TracChangeset
for help on using the changeset viewer.