| @@ -411,9 +411,9 @@ | ||
| 411 | 411 | public function get_comments($data) { |
| 412 | 412 | if (empty($data)) return null; |
| 413 | 413 | |
| 414 | 414 | // $from = isset($data['display_from']) ? intval($data['display_from']) : 0; |
| 415 | - $from = date('Y-m-d H:i:s', Helper::generate_time_string($data)); | |
| 415 | + $from = gmdate('Y-m-d H:i:s', Helper::generate_time_string($data)); | |
| 416 | 416 | $needed = isset($data['display_last']) ? intval($data['display_last']) : 0; |
| 417 | 417 | |
| 418 | 418 | $comments = get_comments([ |
| 419 | 419 | 'status' => 'approve', |
| @@ -489,8 +489,9 @@ | ||
| 489 | 489 | return $comment_data; |
| 490 | 490 | } |
| 491 | 491 | |
| 492 | 492 | public function doc() { |
| 493 | + /* translators: %1$s: WooCommerce installed & activated link URL, %2$s: documentation link URL, %3$s: video tutorial link URL, %4$s: boost WooCommerce Sales link URL */ | |
| 493 | 494 | return sprintf(__('<p>Make sure that you have <a target="_blank" href="%1$s">WooCommerce installed & activated</a> to use this campaign. For further assistance, check out our step by step <a target="_blank" href="%2$s">documentation</a>.</p> |
| 494 | 495 | <p>🎦 Watch <a target="_blank" href="%3$s">video tutorial</a> to learn quickly</p> |
| 495 | 496 | <p><strong>Recommended Blog:</strong></p> |
| 496 | 497 | <p>🚀 How to <a target="_blank" href="%4$s">boost WooCommerce Sales</a> Using NotificationX</p>', 'notificationx'), |