diff --git a/lib/WebGUI/DateTime.pm b/lib/WebGUI/DateTime.pm
index 95dc8acff..6e14d1ca9 100644
--- a/lib/WebGUI/DateTime.pm
+++ b/lib/WebGUI/DateTime.pm
@@ -622,7 +622,7 @@ sub intervalToSeconds {
=head2 localtime ( epoch )
-Returns an array of time elements. The elements are: years, months, days, hours, minutes, seconds, day of year, day of week.
+Returns an array of time elements. The elements are: years, months, days, hours, minutes, seconds, day of year, day of week, daylight savings.
=over
@@ -642,7 +642,8 @@ sub localtime {
}
my $doy = Date::Calc::Day_of_Year($year,$month,$day);
my $dow = Date::Calc::Day_of_Week($year,$month,$day);
- return ($year, $month, $day, $hour, $min, $sec, $doy, $dow);
+ my @temp = Date::Calc::System_Clock();
+ return ($year, $month, $day, $hour, $min, $sec, $doy, $dow, $temp[8]);
}
#-------------------------------------------------------------------
diff --git a/lib/WebGUI/ErrorHandler.pm b/lib/WebGUI/ErrorHandler.pm
index af31af820..8524578f1 100644
--- a/lib/WebGUI/ErrorHandler.pm
+++ b/lib/WebGUI/ErrorHandler.pm
@@ -106,7 +106,10 @@ sub fatalError {
$toLog .= getSessionVars();
writeLog($toLog);
unless ($WebGUI::Session::session{setting}{showDebug}) {
- print WebGUI::International::get(416).'
';
+ #NOTE: You can't internationalize this because with some types of errors that would cause an infinite loop.
+ print "