10 | | The real challenge here is figuring out what date formats to accept. [29908.patch] adds inclusive support for `Y`, `Y-m`, `Y-m-d`, `Y-m-d H:i`, and `Y-m-d H:i:s`, as well as the same formats with `/` instead of `-`. (If there is PHP tool for computing the date format from a string - _without_ rounding it down, like `strtotime()` - I couldn't find it. Obviously they have the internals....) I figure this is better than nothing, and the first three in particular will probably cover many use cases. |
| 10 | The real challenge here is figuring out what date formats to accept. [attachment:29908.patch] adds inclusive support for `Y`, `Y-m`, `Y-m-d`, `Y-m-d H:i`, and `Y-m-d H:i:s`, as well as the same formats with `/` instead of `-`. (If there is PHP tool for computing the date format from a string - _without_ rounding it down, like `strtotime()` - I couldn't find it. Obviously they have the internals....) I figure this is better than nothing, and the first three in particular will probably cover many use cases. |