1
0

Change Date/Time display.

This commit is contained in:
rWatcher 2009-09-16 19:49:50 -04:00
parent 2ec317600f
commit 4d34eb7e0d
2 changed files with 5 additions and 3 deletions

View File

@ -3,4 +3,6 @@ Hide the info sidebar for the root album (without title and description there re
Display date created for albums only (and continue to display the capture date for everything else)
Display tags in the info sidebar (if the tags module is active).
Display tags when mousing over the thumbnails (if tags module is active).
Display "Movie Info" on movies instead of "Photo Info" like the Gallery Info module does.
Display "Movie Info" on movies instead of "Photo Info" like the Gallery Info module does.
Use long month instead of short month on the album display.
Change Date/Time format to "F j, Y h:i:s a" for photos.

View File

@ -12,7 +12,7 @@
<? if ($item->is_album()): ?>
<li>
<strong class="caption"><?= t("Date:") ?></strong>
<?= date("M j, Y", $item->created)?>
<?= date("F j, Y", $item->created)?>
</li>
<? endif ?>
<? endif ?>
@ -27,7 +27,7 @@
<? if ($item->captured): ?>
<li>
<strong class="caption"><?= t("Date:") ?></strong>
<?= date("M j, Y H:i:s", $item->captured)?>
<?= date("F j, Y h:i:s a", $item->captured)?>
</li>
<? endif ?>