trypost/resources/js/components/posts/editor
Paulo Castellano 1af705f3fd
Localize calendar date pickers to the active UI locale (#234)
* Localize calendar date pickers to the active UI locale.

Pass the Inertia locale into Reka calendars, translate a11y labels, and use dayjs LL/LLL for DatePicker display text.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Localize remaining dayjs date displays across the UI.

Route list/calendar/preview timestamps through localized LL/LLL helpers so formats follow the active UI locale instead of English or Portuguese-locked patterns.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Use scheduled-or-now timestamps in platform previews.

Drive preview labels from the post schedule when set, localize Discord without dayjs calendar(), and expose a single formatPreviewPostedAt helper.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Fix preview schedule wiring and Discord/Facebook timestamp labels.

Restore hasPickedTime from any saved scheduled_at, keep time on non-today Discord labels, and use a localized just-now fallback for unschedled Facebook previews.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Fix API key expiry day shift and tighten calendar range titles.

Format date-only expiry in UTC calendar days, and use compact dayjs titles for calendar day/week headers.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Replace frontend date source greps with Inertia API key assertions.

Drop the Vue/TS file scanner and assert expiry calendar days through ApiKeyController props instead.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Localize calendar week titles with day-first dayjs formats.

Avoid English month-day order in week headers and chart axis labels so locales like pt-BR keep natural day-first dates.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Split preview timestamp formatting into named platform helpers.

Replace the style-switch formatPreviewPostedAt with clear per-platform helpers so call sites read as formatDiscordPreview / formatXPreview / etc.

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-05 21:02:34 -03:00
..
AltTextDialog.vue Harden per-image alt text across publishers, validation, and attach paths 2026-07-16 13:55:33 -03:00
CommentsTab.vue Localize calendar date pickers to the active UI locale (#234) 2026-08-05 21:02:34 -03:00
DiscordSettings.vue feat(channels): show channel + mentions in Discord preview, light theme 2026-06-16 16:14:59 -03:00
FacebookSettings.vue Hide video-only formats in the automation Generate node. 2026-07-24 23:29:58 -03:00
InstagramSettings.vue Hide video-only formats in the automation Generate node. 2026-07-24 23:29:58 -03:00
LinkedInSettings.vue fix(posts): preserve gallery media metadata and polish LinkedIn PDF settings 2026-06-25 09:45:15 -03:00
PinterestSettings.vue Add optional Pinterest pin title and destination link (#232) 2026-08-05 18:15:50 -03:00
PostEditorActionBar.vue feat(posts): make the post editor usable on mobile 2026-07-17 18:38:20 -03:00
PostEditorActions.vue fix(posts): mobile editor — taller switcher tabs and a wider Post now button 2026-07-18 09:28:07 -03:00
PostEditorComposer.vue feat(posts): make the post editor usable on mobile 2026-07-17 18:38:20 -03:00
PostEditorHeader.vue fix(mobile): clear the hamburger and match its size on the scheduled editor banner 2026-07-18 14:17:18 -03:00
PostEditorMobileNav.vue fix(mobile): polish automations, dialogs, workspaces and post views 2026-07-18 10:58:07 -03:00
PostEditorTabs.vue Localize calendar date pickers to the active UI locale (#234) 2026-08-05 21:02:34 -03:00
PreviewTab.vue Localize calendar date pickers to the active UI locale (#234) 2026-08-05 21:02:34 -03:00
ScheduleTab.vue Surface Pinterest board truncation in the web editors. 2026-07-24 23:02:40 -03:00
TikTokSettings.vue Hide video-only formats in the automation Generate node. 2026-07-24 23:29:58 -03:00