@@ -115,7 +115,8 @@ discard block |
||
115 | 115 | $tzstring = ''; |
116 | 116 | } |
117 | 117 | |
118 | - if ( empty( $tzstring ) ) { // Create a UTC+- zone if no timezone string exists |
|
118 | + if ( empty( $tzstring ) ) { |
|
119 | +// Create a UTC+- zone if no timezone string exists |
|
119 | 120 | if ( 0 == $current_offset ) { |
120 | 121 | $tzstring = 'UTC+0'; |
121 | 122 | } elseif ( $current_offset < 0 ) { |
@@ -172,7 +173,7 @@ discard block |
||
172 | 173 | * @param mixed $value Value to check |
173 | 174 | * @return bool True or false |
174 | 175 | */ |
175 | - public function notempty( $value ){ |
|
176 | + public function notempty( $value ) { |
|
176 | 177 | return null !== $value && '' !== $value && false !== $value; |
177 | 178 | } |
178 | 179 |