Fix incorrect error messages in the time library
Fix errors in how parsed time values were used

%u flag takes a value in the range of 1-7. However value needs to be
stored in tm.tm_wday between 0 and 6.
%y takes a two-digit year value. Subtracting 1900_i32 from it is not
needed.
Add range checking in the time library

This was requested in Issue #2350. New function match_digits_in_range
added and used instead of match_digits wherever needed.
Tidied up long lines
Spawn new tasks onto the primary scheduler by default. #3760
Add at_exit function #4450
core: Add private global data interface. #3915
Add `finally` method for deferred execution
doc: fix log level ids
doc: Fix manual's link attributes example code
doc: Fix tutorial typo and remove unnecessary xfail-test
doc: Fix tutorial-ffi xfail-tests and update SHA1() to use size_t
Enable lint warnings for doc tests
minor int-template.rs cleanup
Merge pull request #4563 from cpeterso/fix-doc-tests

Fix various doc tests
style fix
Revert "doc: Fix tutorial-ffi xfail-tests and update SHA1() to use size_t"

This reverts commit 50c8cbb25aeb9d8132ac06914e9978d3cddb7f42.
Merge pull request #4570 from wting/minor_int_cleanup

minor int-template.rs cleanup
Update documentation with examples for various int, vec methods.

add int::range(), remainder() examples
add vec::foldl(), foldr() examples

tweak
docs: Fix typo