mirror of
https://github.com/standardebooks/web.git
synced 2025-07-15 19:06:49 -04:00
Abbreviate months in bulk download page
This commit is contained in:
parent
139ae6e918
commit
d086ea59bd
2 changed files with 3 additions and 1 deletions
|
@ -263,6 +263,7 @@ class Library{
|
|||
}
|
||||
|
||||
$obj->UpdatedString = $obj->Updated->format('M j');
|
||||
$obj->UpdatedString = preg_replace('/^(.+?)(?<!May) /', '\1. ', $obj->UpdatedString);
|
||||
if($obj->Updated->format('Y') != gmdate('Y')){
|
||||
$obj->UpdatedString = $obj->Updated->format('M j, Y');
|
||||
}
|
||||
|
@ -322,6 +323,7 @@ class Library{
|
|||
}
|
||||
|
||||
$obj->UpdatedString = $obj->Updated->format('M j');
|
||||
$obj->UpdatedString = preg_replace('/^(.+?)(?<!May) /', '\1. ', $obj->UpdatedString);
|
||||
if($obj->Updated->format('Y') != gmdate('Y')){
|
||||
$obj->UpdatedString = $obj->Updated->format('M j, Y');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue