Changes between Version 1 and Version 2 of Ticket #18694, comment 11
- Timestamp:
- 09/18/2011 07:39:10 AM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #18694, comment 11
v1 v2 4 4 But what about `2011-09` ? Should that be September 1st, 2011 (which is what `strtotime()` will give you) or should it be any day in September (my intent). How do you know from the `strtotime()` response that it wasn't `2011-09-01` that was passed (a specific day rather than a specific month)? 5 5 6 Perhaps if `is_string()`, then just run it through `strtotime()` and use the result as-is. This provides `6 months ago` and full MySQL date/time support but users will just have to realize that wildcards need to be passed as an array instead of a partial date/time .6 Perhaps if `is_string()`, then just run it through `strtotime()` and use the result as-is. This provides `6 months ago` and full MySQL date/time support but users will just have to realize that wildcards need to be passed as an array instead of a partial date/time string.