diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-06-12 22:44:51 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-06-12 22:44:51 -0700 |
commit | 26314d0ef85d4a1e73ca6c9bd728a4cfb8d46d6b (patch) | |
tree | 7e220587f1684b86ae2c18e46cd4425cc7ed1e7b /modules/info | |
parent | 4166fbcd67d828d42b0b1d3d27730355ca8dbce0 (diff) |
Create gallery::date_time(), gallery::date() and gallery::time()
functions that format a unix timestamp into a date+time/date/time
string.
Partial fix for ticket #347.
Diffstat (limited to 'modules/info')
-rw-r--r-- | modules/info/views/info_block.html.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/info/views/info_block.html.php b/modules/info/views/info_block.html.php index f8e5f35e..9f9ec5df 100644 --- a/modules/info/views/info_block.html.php +++ b/modules/info/views/info_block.html.php @@ -31,7 +31,7 @@ <? if ($item->captured): ?> <tr> <th><?= t("Captured:") ?></th> - <td><?= date("M j, Y H:i:s", $item->captured)?></td> + <td><?= gallery::date_time($item->captured) ?></td> </tr> <? endif ?> <? if ($item->owner): ?> |