Changeset 421c2d4 in Klonkt for src/services


Ignore:
Timestamp:
06/21/2026 04:48:27 PM (3 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
d6bdbae
Parents:
9effb80
Message:

feat(instellingen): site timezone — all dates + scheduling in chosen zone

Admin → Settings gets a Timezone picker (IANA, validated via Intl; empty =
server/UTC). Applied to: server-side date display (formatDate/formatDateTime
receive timeZone), and post scheduling (datetime-local is now interpreted/shown
in the site's zone instead of browser-local — wall↔UTC via Intl offset).
'Scheduled for' shows the time in the site's zone. NL/EN/DE.

Co-Authored-By: Claude <noreply@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/services/i18n.js

    r9effb80 r421c2d4  
    977977    'aset.default_lang_hint': 'Wat nieuwe bezoekers zien voordat ze zelf een taal kiezen. Een ingelogde gebruiker met een eigen voorkeur ziet díe.',
    978978    'aset.default_lang_auto': 'Automatisch (browser-taal)',
     979    'aset.timezone': 'Tijdzone',
     980    'aset.timezone_hint': 'In welke tijdzone datums en geplande publicaties worden getoond en opgeslagen. Automatisch = serverstandaard (UTC).',
     981    'aset.timezone_auto': 'Automatisch (UTC)',
    979982  },
    980983  en: {
     
    19361939    'aset.default_lang_hint': 'What new visitors see before they pick a language themselves. A logged-in user with their own preference sees that instead.',
    19371940    'aset.default_lang_auto': 'Automatic (browser language)',
     1941    'aset.timezone': 'Timezone',
     1942    'aset.timezone_hint': 'The timezone used to show and schedule dates and planned posts. Automatic = server default (UTC).',
     1943    'aset.timezone_auto': 'Automatic (UTC)',
    19381944  },
    19391945  de: {
     
    28952901    'aset.default_lang_hint': 'Was neue Besucher sehen, bevor sie selbst eine Sprache wählen. Ein angemeldeter Benutzer mit eigener Voreinstellung sieht diese.',
    28962902    'aset.default_lang_auto': 'Automatisch (Browsersprache)',
     2903    'aset.timezone': 'Zeitzone',
     2904    'aset.timezone_hint': 'Die Zeitzone, in der Datumsangaben und geplante Veröffentlichungen angezeigt und gespeichert werden. Automatisch = Server-Standard (UTC).',
     2905    'aset.timezone_auto': 'Automatisch (UTC)',
    28972906  },
    28982907};
Note: See TracChangeset for help on using the changeset viewer.