feat(users): persist date_format_string preference on users (backend) #184
No reviewers
Labels
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
psa-systems/mokosh-server!184
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/pms-253-date-format-preference-backend"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
First half of PMS-253. Add the per-user date/time format preference column on users, wire it through the shared mokosh-types DTOs, and accept/return it on the user create + update + lookup paths. NULL stays the default and renders exactly as today (browser locale), so this is back-compat for every existing row.
The format string itself (token grammar) is a client-side concern. Server validates length only: max 64 chars enforced both by a Postgres CHECK constraint and by validator::Validate on CreateUserRequest + UpdateUserRequest. The matching mokosh-apps profile UI lands in a separate PR against psa-systems/mokosh-apps.
Branched on top of chore/pms-251-cargo-fmt-sweep so it inherits a fmt-clean base; either PR can merge first without conflicts.
#PMS-253