Subject: [PATCH] Current time io Current date
---
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
diff --git a/src/wp-admin/includes/class-wp-debug-data.php b/src/wp-admin/includes/class-wp-debug-data.php
|
a
|
b
|
|
| 842 | 842 | // Server time. |
| 843 | 843 | $date = new \DateTime( 'now', new \DateTimeZone( 'UTC' ) ); |
| 844 | 844 | $info['wp-server']['fields']['current'] = array( |
| 845 | | 'label' => __( 'Current date' ), |
| | 845 | 'label' => __( 'Current time' ), |
| 846 | 846 | 'value' => $date->format( \DateTime::ATOM ), |
| 847 | 847 | ); |
| 848 | 848 | $info['wp-server']['fields']['utc-time'] = array( |