Skip to content

Commit

Permalink
Output correct "Last Updated" in bin/gpm info command
Browse files Browse the repository at this point in the history
  • Loading branch information
rhukster committed May 2, 2019
1 parent c6d9488 commit 7095c66
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
* Fixed non standard `lang` code lengths in `Utils` and `Session` detection
* Fixed saving a new object in Flex `SimpleStorage`
* Fixed exception in `Flex::getDirectories()` if the first parameter is set
* Output correct "Last Updated" in `bin/gpm info` command

# v1.6.8
## 04/23/2019
Expand Down
2 changes: 1 addition & 1 deletion system/src/Grav/Console/Gpm/InfoCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ protected function serve()

if ($info === 'date') {
$name = 'Last Update';
$data = date('D, j M Y, H:i:s, P ', strtotime('2014-09-16T00:07:16Z'));
$data = date('D, j M Y, H:i:s, P ', strtotime($data));
}

$name = str_pad($name, 12);
Expand Down

0 comments on commit 7095c66

Please sign in to comment.