i added $Date.NiceUS to my referencepage.ss tempalte. but it didn't solve the problem :(
my output is still the whole references :(
can you help me via Teamviewer or skype remote display function?
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
i added $Date.NiceUS to my referencepage.ss tempalte. but it didn't solve the problem :(
my output is still the whole references :(
can you help me via Teamviewer or skype remote display function?
I think our edits are getting crossed :)
Like I said the User setting has no effect on the way the value is Saved only in certain outputs. so just force it in the template
Here is the date refrence http://api.silverstripe.org/2.4/sapphire/model/Date.html
I think you're right :D
in my template if got the date output $Date.NiceUS => e.g. 01.01.2010
but it didn't work :(
what should i do?
damn ss is getting me crazy :D
Unfortunately I don;t have skype set up on this my office computer, feel free to email the PHP and SS files in question to rick at designplusawesome dot com and I'll poke around :)
THX!
E-Mail will be there in a few minutes. i'll send you an test acc for the site too, so you can see the problem ;)
NiceUS outputs 07/27/2011 for me. You could also try $Date.Nice
Tried it :( doesn't work :/
got my mail?
You should just be able to use $Date.Format(d.m.y) to get dd.mm.yy. $Date.Format() accepts everything that the date function accepts as a format.