Closed (fixed)
Project:
Date
Version:
6.x-2.x-dev
Component:
Date CCK Field
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Mar 2009 at 11:18 UTC
Updated:
8 Apr 2009 at 07:39 UTC
Jump to comment: Most recent file
Comments
Comment #1
zd370 commentedYeah.. I am having the same issue. When I use a modifier like "now +7 day" or something similar, query that is generated always uses date 2009-01-01.
Comment #2
timbosa commentedI'm also using using 2009-Mar-09 dev snapshot. I can't get modifiers to work for me either.
Since my date field doesn't have hour granularity, I can't use timezone handling. The site's timezone is far ahead of the servers and as a result when filtering these date fields, it isn't until well into the next day (4pm site time) that the filter is applied.
I've tried using 'now +1 day' and variations thereof to try and get this working but without success.
Comment #3
timbosa commentedI've figured out that the Absolute value kept showing up as a text date like
2009-03-18(eg 1st jpg). Each time the filter was edited I needed to remove the text. Clearing the cache made no difference.My solution was to create a new filter in order to stop this behaviour. This made the Absolute value show up with the
-Year,-Month,-Dayselection boxes (eg 2nd jpg).I've discovered that the reason it kept showing up as a text date was that under the settings for the filter, Date form type was set to
Textrather thanSelect.Comment #4
arlinsandbulte commentedUsing modifiers like 'now +1day' is working for me with Date 6.x-2.x-dev (2009-Mar-21).
Even with the Date form type for Absolute value set to text, this is working for me.
Comment #5
zd370 commenteddoes not work as stated in the response above...
Comment #6
karens commentedDon't reopen closed issues unless you have information to provide. Saying 'does not work' is a totally useless report that is impossible to address. What version of the code are you using? This is fixed in -dev, not in other versions. If you have a problem in the latest -dev code you need to provide specific details about what kind of date field your are using, how that field is set up, how your view is set, probably along with an export of the date field and the view. And I also need to know exactly what 'does not work' means, since that is totally meaningless by itself. What did you input? What did you see?
Since no one else is seeing your problem you either have the wrong version or something different in your setup so you have to provide details about exactly how to see whatever it is you're reporting.
Comment #7
zd370 commentedWell.. before criticizing me for not providing info, this thread is for 2.x-dev and CCK field, and if you look above, I have reported the query that gets generated in view, if I use the modifier value, such as "now +1 day".
Just because someone comes and marks the thread fixed, does that constitute as being fixed? The problem was not solved, so I reported again.
It a CCK field, used in view as a filter to restrict content that falls between certain period (i.e. start date and end date).
Comment #8
zd370 commented