# This patch file was generated by NetBeans IDE
# This patch can be applied using context Tools: Apply Diff Patch action on respective folder.
# It uses platform neutral UTF-8 encoding.
# Above lines and this line are ignored by the patching process.
Index: contributions/modules/apachesolr/apachesolr.module
--- contributions/modules/apachesolr/apachesolr.module Base (1.1.2.12.2.182)
+++ contributions/modules/apachesolr/apachesolr.module Locally Modified (Based On 1.1.2.12.2.182)
@@ -882,17 +882,17 @@
   if ($unix > 0) {
     switch ($gap) {
       case 'YEAR':
-        return gmdate('Y', $unix);
+        return format_date($unix, 'custom', 'Y');
       case 'MONTH':
-        return gmdate('F Y', $unix);
+        return format_date($unix, 'custom', 'F Y');
       case 'DAY':
-        return gmdate('F j, Y', $unix);
+        return format_date($unix, 'custom', 'F j, Y');
       case 'HOUR':
-        return gmdate('g A', $unix);
+        return format_date($unix, 'custom', 'g A');
       case 'MINUTE':
-        return gmdate('g:i A', $unix);
+        return format_date($unix, 'custom', 'g:i A');
       case 'SECOND':
-        return gmdate('g:i:s A', $unix);
+        return format_date($unix, 'custom', 'g:i:s A');
     }
   }
 
