Where is the date format defined in elgg? I don't want to use July 28, 2012 , but something like 28.07.2012. On views/default/output there's a file containing:
if ($vars['value'] > 86400) {
echo date("F j, Y",$vars['value']);
}
But when I change it, nothing happens... Oh: I user elgg 1.7.7
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- Steve Clay@steve_clay

Steve Clay - 0 likes
- iionly@iionly

iionly - 0 likes
- MaddinB@MaddinB

MaddinB - 0 likes
You must log in to post replies.You should override the view in a plugin, but I doubt all dates are run through a central view. This would be a good feature to add though!
This plugin might help you: http://community.elgg.org/plugins/869364/1.8.2/elgg-18-enhanced-friendly-time
It might not already give the date in the format you are looking for. But you can modify the format via the plugin hook used in start.php. It should then use the date format wherever the so called "friendly time" format is used on your site.
Thank you, I'll try this...