PDA

View Full Version : vb:date changed in 4.0.8


derdiedastim
10-23-2010, 03:12 PM
Hi,
ich have a problem with a widget in my CMS.

I have on the left side one widget which shows me "recent articles".

Since vB 4.0.8 (maybe 4.0.7 too) it shows me the phrase "today" if a article ist posted today.

But in 4.0.6 it shows me a date like "01.01.1970".

I want this date back like in 4.0.6.

More detailed:
{vb:date {vb:raw article.publishdate}, {vb:raw vboptions.dateformat}}
This code from the widget template shows me in 4.0.6 "23.10.2010".
But in 4.0.8 it shows me "Today", no date.

How do I get back the date?


Sorry for my bad english :D

Lynne
10-23-2010, 03:34 PM
The recent articles widget shows the time just fine on my site. What do you have set for vboptios > date&time > Datestamp Display Option ? And if you use a language pack, then the similar option in your language settings.

derdiedastim
10-23-2010, 07:11 PM
This option is set to "Yesterday / Today".

But this is the same settings like before.
I changed nothing.

If I change it to "Normal" it shows me everytime the date.
In the CMS/Widget this is fine, but not in the forum.

In the forum I want "Yesterday", "Today". But in the Widget I want everytime dates.

Maybe in 4.0.6 the widget does not respect the vboption and they fixed it in 4.0.8?

Lynne
10-23-2010, 07:48 PM
That could be it. If you want it changed only in the CMS area, then you could try to write a plugin to change that vboption only in those pages?