Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 02:56 pm EST
Geeklog Forums
Date format on Calendar Day display
athertop
Anonymous
I am now running GL v1.3.11. I notice the Calendar day display has the date in the format: Sunday, 03/06/05 - American formatting (meaning March 6th). I want to change this to British, E.g. Sunday, 06/03/05 (6th March 05)
I have played with the date formats in config.php to no avail. Any ideas?
thx in adv,
Paul
I have played with the date formats in config.php to no avail. Any ideas?
thx in adv,
Paul
8
6
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Try setting the locale to 'en_GB', i.e.
$_CONF['locale'] = 'en_GB';
I have a sneaking suspicion that the default locale setting that Geeklog is shipping with ('en-gb') is actually wrong and simply makes the webserver use the default locale, which is usually US-centric ...
bye, Dirk
$_CONF['locale'] = 'en_GB';
I have a sneaking suspicion that the default locale setting that Geeklog is shipping with ('en-gb') is actually wrong and simply makes the webserver use the default locale, which is usually US-centric ...
bye, Dirk
7
5
Quote
Status: offline
knuff
Forum User
Full Member
Registered: 12/17/04
Posts: 340
Location:Sweden
Hi Dirk,
Would it be possible to include the locale as a user variable.
Currently the locale is written in stone so the name of day, month is not translated when you switch between languages.
I know the FAQ mention this as a "smart" thingie, but it´s kind of a bug if you want to allow multiple languages on your site.
(didn´t wanna hijack this thread, but have been planning to post this already for a while).
Greetz,
Boris
** edit - actually the calendar is the only place where this is grabbed from the language file so it was definetly the wrong thread to append too **
Vanrillaer.com - our Family Portal
Would it be possible to include the locale as a user variable.
Currently the locale is written in stone so the name of day, month is not translated when you switch between languages.
I know the FAQ mention this as a "smart" thingie, but it´s kind of a bug if you want to allow multiple languages on your site.
(didn´t wanna hijack this thread, but have been planning to post this already for a while).
Greetz,
Boris
** edit - actually the calendar is the only place where this is grabbed from the language file so it was definetly the wrong thread to append too **
Vanrillaer.com - our Family Portal
6
6
Quote
athertop
Anonymous
Dirk, 3 out of 3 today! This worked a treat! Thanks a lot, Paul
6
5
Quote
All times are EST. The time is now 02:56 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content