Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 132611

Summary: Localized forums' interface upon still uses English time template before user login
Product: Websites Reporter: Alexey Chumakov (RETIRED) <achumakov>
Component: ForumsAssignee: Forum Moderators <forum-mods>
Status: RESOLVED WORKSFORME    
Severity: normal CC: alex_y_xu
Priority: High    
Version: unspecified   
Hardware: All   
OS: Other   
URL: http://forums.gentoo.org
Whiteboard:
Package list:
Runtime testing required: ---

Description Alexey Chumakov (RETIRED) gentoo-dev 2006-05-07 13:33:26 UTC
There is an Auto language detection at forums.gentoo.org.

When forums interface is not English and no user is currently logged in, 
the date format template is incorrectly taken from somewhere but current lang_main.php file. The DOW and month language is still correct, though.

The correct date format is stored at localized lang_main.php
$lang['DATE_FORMAT']
Comment 1 Alexey Chumakov (RETIRED) gentoo-dev 2006-05-07 13:35:53 UTC
Maybe that's wrong date format to take - it's without time of day in all the language files... then the correct one is to be added ;)
Comment 2 Tom Knight (RETIRED) gentoo-dev 2007-01-30 21:42:11 UTC
Where does the incorrect date format show up? Most dates are shown with the time included, even when not logged in.

Or this this just a matter of the default date format not being correct for certain languages?, e.g. Russian. If so could you provide us with the correct date format?
Comment 3 Alex Xu (Hello71) 2015-06-11 16:02:10 UTC
I did "curl -H 'Accept-Language: de' -L forums.gentoo.org" and all dates appeared to be in German language.