Sounds like a much better solution than what I was implementing. I perused
the help, but I can't see how one adds a "global xwiki preference". Is
this done in the xwiki.cfg (e.g. xwiki.dateformat=yyyy-MM-dd), or is there
a way to do it online?
Regards,
Brian.
Thomas
Kliethermes
<kliether(a)us.ibmibm. To
com> xwiki-users(a)objectweb.org
cc
06/27/2007 10:03
AM Subject
Re: [xwiki-users] Date format?
Please respond to
xwiki-users@objec
tweb.org
Also, if you call $xwiki.formatDate(date) without the format parameter, it
will format the date according to a global xwiki preference called
"dateformat". The parameter is not there by default, so you'll need to
add it to the xwiki preferences class and set the value in the object.
We've done that, and changed nearly every place the date is displayed to
use it.
-Tom
--
Tom Kliethermes
eSupport Initiatives
IBM Information Management
(913) 599-7240 Fax: (913) 599-8590
http://www.ibm.com/software/data
Vincent Massol <vincent(a)massol.net>
To
06/27/2007 08:07 AM xwiki-users@obje
ctweb.org
cc
Please respond to
xwiki-users(a)objectweb.org Subject
Re:
[xwiki-users]
Date format?
Hi Brian,
On Jun 27, 2007, at 2:02 PM, BSayatovic(a)amig.com wrote:
One of my users noticed that the date format being used by XWiki
(at the
bottom of a page, for example) is in Eurpoean format, e.g.
27/06/2007. Is
there an easy way to change this to the U.S.-style, e.g. 06/27/2007?
Not really. I've checked and it's currently hardcoded in footer.vm.
So your solutions right now are:
1) Use a custom skin that extends albatross and specify your footer
in the footer field
2) Modify the footer.vm file.
Solution 1 sounds the best to me as it allows easy upgrade to newer
versions of XWiki more easily.
-Vincent
--
You receive this message as a subscriber of the xwiki-users(a)objectweb.org
mailing list.
To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
For general help: mailto:sympa@objectweb.org?subject=help
ObjectWeb mailing lists service home page:
http://www.objectweb.org/wws
--
You receive this message as a subscriber of the xwiki-users(a)objectweb.org
mailing list.
To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
For general help: mailto:sympa@objectweb.org?subject=help
ObjectWeb mailing lists service home page:
http://www.objectweb.org/wws
-----------------------------------------
CONFIDENTIALITY STATEMENT:
This e-mail transmission contains information that is intended to
be confidential. It is intended only for the addressee named
above. If you receive this e-mail in error, please do not read,
copy, or disseminate it. If you are not the intended recipient,
any disclosure, copying, distribution or use of the contents of
this information is prohibited. Please reply to the message
immediately by informing the sender that the message was
misdirected. After replying, please erase it from your computer
system. Your assistance in correcting this error is appreciated.