[vhffs-dev] [1049] full_time_format has a strange output with en_US |
[ Thread Index |
Date Index
| More vhffs.org/vhffs-dev Archives
]
Revision: 1049
Author: beuss
Date: 2007-10-29 22:23:16 +0000 (Mon, 29 Oct 2007)
Log Message:
-----------
full_time_format has a strange output with en_US
Modified Paths:
--------------
trunk/vhffs-api/src/Vhffs/Panel/Object.pm
trunk/vhffs-panel/admin/object/edit.pl
trunk/vhffs-panel/group/history.pl
trunk/vhffs-panel/history.pl
Modified: trunk/vhffs-api/src/Vhffs/Panel/Object.pm
===================================================================
--- trunk/vhffs-api/src/Vhffs/Panel/Object.pm 2007-10-29 21:39:17 UTC (rev 1048)
+++ trunk/vhffs-api/src/Vhffs/Panel/Object.pm 2007-10-29 22:23:16 UTC (rev 1049)
@@ -209,7 +209,7 @@
my $loc = DateTime::Locale->load($user->get_lang);
foreach (@{$history}) {
my $dt = DateTime->from_epoch( epoch => $_->{date}, locale => $user->get_lang);
- $history_tmpl->param( DATE => $dt->strftime($loc->medium_date_format().' '.$loc->full_time_format() ) );
+ $history_tmpl->param( DATE => $dt->strftime($loc->medium_date_format().' '.$loc->long_time_format() ) );
$history_tmpl->param( EVENT => $_->{message} );
$output .= $history_tmpl->output;
}
Modified: trunk/vhffs-panel/admin/object/edit.pl
===================================================================
--- trunk/vhffs-panel/admin/object/edit.pl 2007-10-29 21:39:17 UTC (rev 1048)
+++ trunk/vhffs-panel/admin/object/edit.pl 2007-10-29 22:23:16 UTC (rev 1049)
@@ -210,7 +210,7 @@
my $loc = DateTime::Locale->load($user->get_lang);
foreach (@{$history}) {
my $dt = DateTime->from_epoch( epoch => $_->{date}, locale => $user->get_lang);
- $history_tmpl->param( DATE => $dt->strftime($loc->medium_date_format().' '.$loc->full_time_format()) );
+ $history_tmpl->param( DATE => $dt->strftime($loc->medium_date_format().' '.$loc->long_time_format()) );
$history_tmpl->param( EVENT => $_->{message} );
$output .= $history_tmpl->output;
}
Modified: trunk/vhffs-panel/group/history.pl
===================================================================
--- trunk/vhffs-panel/group/history.pl 2007-10-29 21:39:17 UTC (rev 1048)
+++ trunk/vhffs-panel/group/history.pl 2007-10-29 22:23:16 UTC (rev 1049)
@@ -90,7 +90,7 @@
foreach (@{$history}) {
my $dt = DateTime->from_epoch( epoch => $_->{date}, locale => $user->get_lang);
$history_tmpl->param( DATE => $dt->strftime($loc->medium_date_format() ) );
- $history_tmpl->param( TIME => $dt->strftime($loc->full_time_format() ) );
+ $history_tmpl->param( TIME => $dt->strftime($loc->long_time_format() ) );
$history_tmpl->param( TYPE => Vhffs::Functions::type_string_from_type_id( $_->{type} ) );
my $object = Vhffs::ObjectFactory::fetch_object( $vhffs , $_->{object_id} );
$history_tmpl->param( NAME => $object->get_label );
Modified: trunk/vhffs-panel/history.pl
===================================================================
--- trunk/vhffs-panel/history.pl 2007-10-29 21:39:17 UTC (rev 1048)
+++ trunk/vhffs-panel/history.pl 2007-10-29 22:23:16 UTC (rev 1049)
@@ -112,7 +112,7 @@
my $loc = DateTime::Locale->load($user->get_lang);
foreach (@{$history}) {
my $dt = DateTime->from_epoch( epoch => $_->{date}, locale => $user->get_lang);
- $history_tmpl->param( DATE => $dt->strftime($loc->medium_date_format().' '.$loc->full_time_format()));
+ $history_tmpl->param( DATE => $dt->strftime($loc->medium_date_format().' '.$loc->long_time_format()));
$history_tmpl->param( EVENT => $_->{message} );
$output .= $history_tmpl->output;
}