|
@@ -6,8 +6,8 @@ |
|
|
block discarded – undo |
|
6
|
6
|
*/ |
|
7
|
7
|
class SS_Datetimezone extends SS_Datetime { |
|
8
|
8
|
/** |
|
9
|
|
- * Returns the date in the raw SQL-format specific to a given timezone passed from the Member class, e.g. “2006-01-18 16:32:04” |
|
10
|
|
- */ |
|
|
9
|
+ * Returns the date in the raw SQL-format specific to a given timezone passed from the Member class, e.g. “2006-01-18 16:32:04” |
|
|
10
|
+ */ |
|
11
|
11
|
public function Nice() { |
|
12
|
12
|
//instantiate new DateTime object based off received timestamp in the default timezone |
|
13
|
13
|
$timestamp = new DateTime($this->value, new DateTimeZone(date_default_timezone_get())); |
Please login to merge, or discard this patch.