Changeset - 1557c45be402
[Not reviewed]
default
0 2 0
Nathan Brink (binki) - 14 years ago 2011-10-18 19:41:06
ohnobinki@ohnopublishing.net
Replace user-pointing uses of date() with gmdate(), starting to address bug #116.
2 files changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
feedback-submit.php
Show inline comments
 
@@ -84,7 +84,7 @@ if (!$reject)
 
  {
 
    $feedback = stripcslashes($feedback);
 

	
 
    $message = date('l, F j, Y, g:i a') ."
 
    $message = gmdate('l, F j, Y, g:i a') ."
 
From: $nameis ($visitormail)
 
School: $school ($school_id)\n
 
Rating: $rating 
inc/class.schedule.php
Show inline comments
 
@@ -773,7 +773,7 @@ class Schedule
 
    if ($this->created)
 
      echo ''
 
	. '<p id="created-time">' . PHP_EOL
 
	. '  Created <span class="cute-time">' . date('c', $this->created) . '</span>.' . PHP_EOL
 
	. '  Created <span class="cute-time">' . gmdate('c', $this->created) . '</span>.' . PHP_EOL
 
	. '</p>' . PHP_EOL;
 

	
 
    $outputPage->foot();
0 comments (0 inline, 0 general)