Revert "Theres not localtime_r on Windows"

This reverts commit 3dc9fdbbd2a9af12726cbfcaaaae6e817f359439.

Conflicts:
	src/context.cc
	src/formatter.h
	src/user.cc
Use localtime in setLastDate
Use Poco LocalDateTime for last date keeping (lib)
Merge branch 'master' into builds
7.635