|
|
Relative date (1 viewing) (1) Guest
 | | |
|
TOPIC: Relative date
|
|
Relative date 3 Months, 1 Week ago
|
Karma: 1
|
|
Hi !
how is the format for relative date and how to configure it ?
for example : make a menu to display yesterday events :
- create a yesterday view
wich "start and end date" of the calendar ?
- create a menu to display this view ?
what i have to input in : "viewdate" ?
i want to display yesterday events and not events 24 hours before now.
thx
|
|
|
|
|
|
|
Re: Relative date 3 Months, 1 Week ago
|
Karma: 13
|
|
You can not use the upcoming events view type, you will need to use the static list view type. The start date would be "-1D" (one day ago) and the end date would be "+0D" (today). You can leave the view date field blank, that is not needed for the static view list.
|
|
|
|
|
|
|
Re: Relative date 3 Months, 1 Week ago
|
Karma: 1
|
|
Thx ! it works but like i said it seems to display 24hours (1 day) before now, and not the day before (midnight to midnight). so i want to display events of yesterday (or tomorrow) and it display events 24h before (if i am at the evening, i dont see the events of yesterday morning).
is there a solution for that ?
|
|
|
|
|
|
|
Re: Relative date 3 Months, 1 Week ago
|
Karma: 13
|
|
OK, now I see. I'll take a look at it. It makes sense it should check starting at midnight. This was added to the upcoming events feature, allowing a user specify to include all of today's events or just the ones that have not occurred yet. Something similar could be done here.
|
|
|
|
|
|
|
Re: Relative date 3 Months, 1 Week ago
|
Karma: 1
|
|
thx, wait for it, could be very interessant !
the browser mode is great but making some special links will be very interessant like :
- yesterday
- tomorrow
- next week
- past week
- this week end ..
all of this by creating views with relative date !
if you can help me to configure at least tomorrow and yesterday relative date ( the entire day like we said before, not 24h before)
waiting for that to upgarde my main menu !
|
|
|
|
Last Edit: 2012/02/10 18:28 By nikomed.
|
|
|
Re: Relative date 3 Months ago
|
Karma: 13
|
|
I just released version 3.0.1, which addresses this issue. Minus "-" relative dates now start at the beginning of the day. Positive "+" or any non-negative relative dates go to the end of the day. This is available in the subscription area. Let me know if you still have a problem.
|
|
|
|
|
|
|
 | | |
|