Overview
| Artifact ID: | dfb1bacf387a13b272a0a15d8cbf5344bbaff63c |
|---|---|
| Ticket: | b32fffae8156a93d7c083122fdb7e22a10ecf4aa
clock scan returns wrong date if dayOfMonth is missing |
| User & Date: | sebres on 2015-05-05 09:48:27 |
Changes
- icomment:
This is undefined behaviour, because scanning of date not completed (not all required date fields fulfilled). Explanation is simple: puts [clock scan "Apr12" -format "%b%y" -base 0 -gmt 1]; # will returns 0 Simple solution does not exists, because I'm sure that 01 as default day would be incorrect. Just use formats always have a days.
- login: "sebres"
- mimetype: "text/plain"