mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Add user set timezones
Currently, aurweb displays all dates and times in UTC time. This patch adds a capability for each logged in user to set their preferred timezone. Implements FS#48729. Signed-off-by: Mark Weiman <mark.weiman@markzz.com> Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
parent
087b539cbc
commit
608c483090
19 changed files with 130 additions and 23 deletions
|
@ -38,8 +38,8 @@
|
|||
<td><?php $row["Agenda"] = htmlspecialchars(substr($row["Agenda"], 0, $prev_Len)); ?>
|
||||
<a href="<?= get_uri('/tu/'); ?>?id=<?= $row['ID'] ?>"><?= $row["Agenda"] ?></a>
|
||||
</td>
|
||||
<td><?= gmdate("Y-m-d", $row["Submitted"]) ?></td>
|
||||
<td><?= gmdate("Y-m-d", $row["End"]) ?></td>
|
||||
<td><?= date("Y-m-d", $row["Submitted"]) ?></td>
|
||||
<td><?= date("Y-m-d", $row["End"]) ?></td>
|
||||
<td>
|
||||
<?php if (!empty($row['User'])): ?>
|
||||
<a href="<?= get_uri('/packages/'); ?>?K=<?= $row['User'] ?>&SeB=m"><?= $row['User'] ?></a>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue