don't pass 0 time_t to Borland localtime(), it crashes (bug 1704438); also check...
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 22 Apr 2007 00:03:16 +0000 (00:03 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 22 Apr 2007 00:03:16 +0000 (00:03 +0000)
commit55809d1394516044a90fa34b12070d0f3e9f1439
tree9890f56761c6f47d1a51884d21c2374938af6d59
parenta930afc71b5aeac3ef8eaa406be948828aed3469
don't pass 0 time_t to Borland localtime(), it crashes (bug 1704438); also check for error return from both localtime() and gmtime()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/common/datetime.cpp