Developer forum
E-mail notifications
Day for news
Is there any way to circumvent this restriction (short of using javascript or some other "hack") ?
Replies
There is no easy way...
I guess you found this one:
http://template.dynamicweb.dk/Default.aspx?ID=3592
It applies to NewsDate tag.
So if you set the international settings on the news settings:
http://manual.net.dynamicweb.dk/Default.aspx?ID=4426
or on the area/frontpage module to Danish the date will be available in alle those formats.
The .LongDate extension then has the day name inside. Parsing it with javascript is one way of getting it.
Another way is to use a Javascript and just use the Date tag.
Know its not pretty.
NP wrote:Actually, LongDate doesn't return the day-name either - only WeekDay returns a numeric representation. I guess I'll have to hack it in - thanks for the reply ;)There is no easy way...
I guess you found this one:
http://template.dynamicweb.dk/Default.aspx?ID=3592
It applies to NewsDate tag.
So if you set the international settings on the news settings:
http://manual.net.dynamicweb.dk/Default.aspx?ID=4426
or on the area/frontpage module to Danish the date will be available in alle those formats.
The .LongDate extension then has the day name inside. Parsing it with javascript is one way of getting it.
Another way is to use a Javascript and just use the Date tag.
Know its not pretty.
Hi
I'll add long and short day and month names to the template date parser. Coming up within a month... Probably with august release.
You must be logged in to post in the forum