commit | d885b528f2d26435ecff83da9e50e815ac73605b | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Tue Nov 10 18:21:51 2015 -0800 |
committer | Rob Landley <rob@landley.net> | Thu Nov 12 21:26:56 2015 -0600 |
tree | 848304ecf9db6e945195fea21c4c97df84fcf20c | |
parent | 26ec1c05b0eef896b59fe3c870f6885fa7edf4ae [diff] |
Fix year parsing in date(1). Four-digit years were being mangled by the code for two-digit years. Move all the two-digit year code into the "we only saw two digits" case. Add some new tests and fix existing tests.