bugfix, SF#1381551 for non-english dates

updated documentation for Post(new template vars)
and ZipArchive(moved file add/edit related help from template to add/edit)
This commit is contained in:
Colin Kuskie 2005-12-16 00:27:44 +00:00
parent f89b63d8e2
commit 752a8669c0
4 changed files with 25 additions and 12 deletions

View file

@ -203,7 +203,7 @@ A string representing the output format for the date. Defaults to '%z %Z'. You c
=cut
sub epochToHuman {
my $language = WebGUI::International::get($session{user}{language});
my $language = WebGUI::International::getLanguage($session{user}{language});
my $locale = $language->{languageAbbreviation} || "en";
$locale .= "_".$language->{locale} if ($language->{locale});
my $timeZone = $session{user}{timeZone} || "America/Chicago";