1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-24 15:49:39 +02:00

Allow users to set preferred locale in settings and provide basic date and time localization support (#1226)

* Add basic date and time localization

* Normalize translations

* Localize transaction dates

* Removed unsupported Rails locales
This commit is contained in:
Zach Gollwitzer 2024-10-02 14:02:17 -04:00 committed by GitHub
parent 7fabca4679
commit ab40289eb4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
130 changed files with 25190 additions and 10 deletions

View file

@ -21,6 +21,6 @@ class Settings::PreferencesController < SettingsController
private
def preference_params
params.require(:user).permit(family_attributes: [ :id, :currency ])
params.require(:user).permit(family_attributes: [ :id, :currency, :locale ])
end
end