mirror of
https://github.com/danpros/htmly.git
synced 2026-04-19 03:56:21 +05:30
Update htmly.php
This commit is contained in:
parent
3a1a459119
commit
07d094a9a4
1 changed files with 2 additions and 2 deletions
|
|
@ -2065,9 +2065,9 @@ get('/archive/:req', function ($req) {
|
|||
$date = strtotime($req);
|
||||
|
||||
if (isset($time[0]) && isset($time[1]) && isset($time[2])) {
|
||||
$timestamp = date('d F Y', $date);
|
||||
$timestamp = strftime('%d %B %Y', $date);
|
||||
} elseif (isset($time[0]) && isset($time[1])) {
|
||||
$timestamp = date('F Y', $date);
|
||||
$timestamp = strftime('%B %Y', $date);
|
||||
} else {
|
||||
$timestamp = $req;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue