Skip to content
Commit 57ad019f authored by Gregory Nutt's avatar Gregory Nutt
Browse files

Revert "Correct a problem in clock_gettime(CLOCK_REALTIME, &time); which is...

Revert "Correct a problem in clock_gettime(CLOCK_REALTIME, &time); which is ahead by 1 month of the specified CONFIG_START_MONTH"

I don't believe this change is correct in general.  Nomralling clock_isleapyear() is called with tm_mon which is in the range of 0-11.  That change would be bad for that range.  It would make sense for a range of 1-12, but that is not how tm_mon is defined.

This reverts commit 1796a25e.
parent 1796a25e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment