Index: D:/eclipse/svn/Slim/Utils/DateTime.pm =================================================================== --- D:/eclipse/svn/Slim/Utils/DateTime.pm (revision 11648) +++ D:/eclipse/svn/Slim/Utils/DateTime.pm (working copy) @@ -8,10 +8,11 @@ use strict; use Date::Parse; -use POSIX qw(strftime); +use POSIX qw(strftime setlocale LC_ALL LC_CTYPE); use Slim::Utils::Prefs; use Slim::Utils::Unicode; +use Slim::Utils::Strings qw(string); =head1 NAME @@ -50,6 +51,7 @@ my $time = shift || time(); my $format = shift || Slim::Utils::Prefs::get('longdateFormat'); + setlocale( LC_ALL, string('LANGUAGE_POSIX') ); my $date = strftime($format, localtime($time)); $date =~ s/\|0*//; Index: D:/eclipse/svn/strings.txt =================================================================== --- D:/eclipse/svn/strings.txt (revision 11648) +++ D:/eclipse/svn/strings.txt (working copy) @@ -33,6 +33,19 @@ SV Svenska ZH_CN 简体中文 +LANGUAGE_POSIX + CS cz + DA dan + DE deu + EN en + ES sp + FI fin + FR fra + IT ita + NL nld + NO nor + SV sve + CREDITS CS Roman Smetak DA Ulrik Mehr, Morten Fischer-Madsen