Changes between Initial Version and Version 1 of Ticket #18694, comment 11
- Timestamp:
- 09/18/2011 07:38:26 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #18694, comment 11
initial v1 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 add `6 months ago` and full MySQL date/time support and usersjust 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.