Closed (fixed)
Project:
Table Manager
Version:
4.7.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
28 Feb 2007 at 15:39 UTC
Updated:
24 Feb 2012 at 12:45 UTC
It would be nice to have a field that allows to set the date format in other languages than English.
Comments
Comment #1
pobster commentedYeah s'easy enough; change this line in tablemanager_display;
To;
You'll need to set the date format (on your settings page, NOT in the code here) to something from here; http://www.php.net/manual/en/function.strftime.php
(for an example try "%A %d %B %Y" which will output for instance, Friday 22 December 1978 in whatever language you've set the locale to).
Let me know if this works as it should as I can't test it on my server (functionality not installed...)
Pobster
Comment #2
chris.gr commentedThanks a lot, it worked. I added
setlocale(LC_TIME, "de_DE.UTF8"); // German
and set the date format according to your link.
Comment #3
pobster commentedComment #4
pobster commentedComment #5
prorva commentedI am using 000webhost.com and I can not find this settings (probably functionality not installed)
I want to change date language to russian.
Any help?
Comment #6
pobster commentedWhich version of Drupal are you using? This issue is related to 4.7 - are you really still using this?