Commit 44ac4734e2be9871e6980639220d900c11fdf1d3

Authored by Brad Shuttleworth
1 parent af678879

correct the untranslateable dates-formats, until we fix the problem correctly (e.g. iconv, etc.)


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5332 c91229c3-7414-0410-bfa2-8a42b809f60b
lib/browse/BrowseColumns.inc.php
@@ -192,7 +192,7 @@ class DateColumn extends BrowseColumn { @@ -192,7 +192,7 @@ class DateColumn extends BrowseColumn {
192 $dColumnDate = strtotime($aDataRow["document"]->$fn()); 192 $dColumnDate = strtotime($aDataRow["document"]->$fn());
193 193
194 // now reformat this into something "pretty" 194 // now reformat this into something "pretty"
195 - $outStr = date("d M, Y H\\hi", $dColumnDate); 195 + $outStr = date("Y-m-d H:i", $dColumnDate);
196 } 196 }
197 return $outStr; 197 return $outStr;
198 } 198 }
lib/widgets/fieldsetDisplay.inc.php
@@ -122,7 +122,7 @@ class KTFieldsetDisplay { @@ -122,7 +122,7 @@ class KTFieldsetDisplay {
122 122
123 function _dateHelper($dDate) { 123 function _dateHelper($dDate) {
124 $dColumnDate = strtotime($dDate); 124 $dColumnDate = strtotime($dDate);
125 - return date("d M, Y H\\hi", $dColumnDate); 125 + return date("Y-m-d H:i", $dColumnDate);
126 } 126 }
127 127
128 128