aboutsummaryrefslogtreecommitdiffhomepage
path: root/routes/preferences.php
diff options
context:
space:
mode:
authorwinter2025-02-07 18:26:05 +0000
committerwinter2025-02-07 18:26:05 +0000
commitd18ec187847893f94418b29bc6a087d6b2dd9a2d (patch)
tree8ea4451cb1f62f8041eae71ca60ec2b64fafe8b2 /routes/preferences.php
parent43f0b9f41a582925838b2ba686110b2f07576be3 (diff)
localise note timestamps and stuff
Diffstat (limited to 'routes/preferences.php')
-rw-r--r--routes/preferences.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/routes/preferences.php b/routes/preferences.php
index cb07bd1..243f90d 100644
--- a/routes/preferences.php
+++ b/routes/preferences.php
@@ -18,6 +18,7 @@ Router::getInstance()->mount('/fragment/preferences', function (array $args) {
$user->actor->requestToFollow = $_POST['requestToFollow'] == 'true';
$user->actor->save();
$settings->set('interface.smallUnreadIndicators', $_POST['smallIndicators']);
+ $settings->set('locale.timezone', $_POST['timezone']);
$saved = true;
}