commit | 5e3bb3e9c8c104872f8f4fe489d2c5025326ce1b | [log] [tgz] |
---|---|---|
author | DRC <dcommander@users.sourceforge.net> | Fri Oct 12 10:19:09 2012 +0000 |
committer | DRC <dcommander@users.sourceforge.net> | Fri Oct 12 10:19:09 2012 +0000 |
tree | 5a621248a6732b05f1b5aaeec66dd16d8a3ff230 | |
parent | 98eecb8605a06e30eff0ec0847c7e856a4adc916 [diff] |
Use a more robust method of obtaining the build timestamp on Windows. 'wmic os get LocalDateTime' will always return the timestamp in the format we want (YYYYMMDD), whereas date /t is sensitive to locale. If wmic fails, then we fall back to using date /t, even though this means that the BUILD variable will end up in the incorrect format on some systems. git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.1.x@869 632fc199-4ca6-4c93-a231-07263d6284db