Skip to content

Commit

Permalink
Log timestamp as int (#36736)
Browse files Browse the repository at this point in the history
  • Loading branch information
TimBroddin authored and matticbot committed Apr 4, 2024
1 parent b6971f0 commit 939643b
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 20 deletions.
14 changes: 7 additions & 7 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions vendor/automattic/scheduled-updates/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ This is an alpha version! The changes listed here are not final.

### Fixed
- Force cache cleaning before scheduling a new job.
- Store log timestamp as int

## [0.5.3] - 2024-04-01
### Changed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class Scheduled_Updates_Logs {
public static function log( $schedule_id, $action, $message = null, $context = null ) {
$timestamp = wp_date( 'U' );
$log_entry = array(
'timestamp' => $timestamp,
'timestamp' => intval( $timestamp ),
'action' => $action,
'message' => $message,
'context' => $context,
Expand Down
12 changes: 6 additions & 6 deletions vendor/composer/installed.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-assets",
"reference": "5c5e646c4fa928e443c2f6efc620ae8d21ab5584"
"reference": "9e027c5fec833e622cfd8a8196287ce4198de5a8"
},
"require": {
"automattic/jetpack-constants": "^2.0.1",
Expand Down Expand Up @@ -76,7 +76,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-constants",
"reference": "19132ece7b2f8990dfde78332c9dc0b38c5f0701"
"reference": "099a166293f6005efc9a8f4a097f829c3b3b0b1a"
},
"require": {
"php": ">=7.0"
Expand Down Expand Up @@ -130,7 +130,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-mu-wpcom",
"reference": "58f216d892cb2d17bf371e99e4d65c970144f1c0"
"reference": "53fc0d846994c39386b5c68eda220dfe0ea9896b"
},
"require": {
"automattic/jetpack-assets": "^2.1.6",
Expand Down Expand Up @@ -197,12 +197,12 @@
},
{
"name": "automattic/scheduled-updates",
"version": "0.6.0-alpha.1712214833",
"version_normalized": "0.6.0.0-alpha1712214833",
"version": "0.6.0-alpha.1712231404",
"version_normalized": "0.6.0.0-alpha1712231404",
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/scheduled-updates",
"reference": "fa0ba8e1f1a60d0d3aba0f36ee3a3b991644b24d"
"reference": "9115e0cd3f6fadc34964a8d236096fd7c13737a9"
},
"require": {
"php": ">=7.0"
Expand Down
12 changes: 6 additions & 6 deletions vendor/composer/installed.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
'automattic/jetpack-assets' => array(
'pretty_version' => '2.1.6',
'version' => '2.1.6.0',
'reference' => '5c5e646c4fa928e443c2f6efc620ae8d21ab5584',
'reference' => '9e027c5fec833e622cfd8a8196287ce4198de5a8',
'type' => 'jetpack-library',
'install_path' => __DIR__ . '/../automattic/jetpack-assets',
'aliases' => array(),
Expand All @@ -22,7 +22,7 @@
'automattic/jetpack-constants' => array(
'pretty_version' => '2.0.1',
'version' => '2.0.1.0',
'reference' => '19132ece7b2f8990dfde78332c9dc0b38c5f0701',
'reference' => '099a166293f6005efc9a8f4a097f829c3b3b0b1a',
'type' => 'jetpack-library',
'install_path' => __DIR__ . '/../automattic/jetpack-constants',
'aliases' => array(),
Expand All @@ -31,7 +31,7 @@
'automattic/jetpack-mu-wpcom' => array(
'pretty_version' => '5.23.0-alpha.1712180041',
'version' => '5.23.0.0-alpha1712180041',
'reference' => '58f216d892cb2d17bf371e99e4d65c970144f1c0',
'reference' => '53fc0d846994c39386b5c68eda220dfe0ea9896b',
'type' => 'jetpack-library',
'install_path' => __DIR__ . '/../automattic/jetpack-mu-wpcom',
'aliases' => array(),
Expand All @@ -47,9 +47,9 @@
'dev_requirement' => false,
),
'automattic/scheduled-updates' => array(
'pretty_version' => '0.6.0-alpha.1712214833',
'version' => '0.6.0.0-alpha1712214833',
'reference' => 'fa0ba8e1f1a60d0d3aba0f36ee3a3b991644b24d',
'pretty_version' => '0.6.0-alpha.1712231404',
'version' => '0.6.0.0-alpha1712231404',
'reference' => '9115e0cd3f6fadc34964a8d236096fd7c13737a9',
'type' => 'jetpack-library',
'install_path' => __DIR__ . '/../automattic/scheduled-updates',
'aliases' => array(),
Expand Down

0 comments on commit 939643b

Please sign in to comment.