fjpanag commented on code in PR #7349: URL: https://github.com/apache/incubator-nuttx/pull/7349#discussion_r998800825
########## libs/libc/time/lib_gmtimer.c: ########## @@ -336,7 +336,7 @@ FAR struct tm *gmtime_r(FAR const time_t *timep, FAR struct tm *result) result->tm_wday = clock_dayoftheweek(day, month, year); result->tm_yday = day + clock_daysbeforemonth(result->tm_mon, - clock_isleapyear(year)); + clock_isleapyear(year)) - 1; Review Comment: Yep, sorry. I did it in two steps and I didn't notice it. Fixed. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org