Skip to content

Spring i18n needs TimeZone resolution as well as Locale resolution. [SPR-1528] #6227

Closed
@spring-projects-issues

Description

@spring-projects-issues

Tom Czarniecki opened SPR-1528 and commented

Spring Web framework has really good and extensible support for Locale resolution. However, in many internationalised applications one also requires to be able to resolve TimeZones, so that a remote user can be shown, for example, transaction logs in their local TimeZone, and not in the TimeZone of the server. You can always retrieve the user's timezone from the database at login and store it using a known key in the session or look it up whenever you need it. What I propose is really a set of extensible interfaces and strategy classes, based on Spring's current locale resolution mechanism, to allow a uniform approach to TimeZone resolution. Guess I have done this too many times for clients :-)


Attachments:

Issue Links:

Referenced from: commits 44dee37, 7ed108e, 7b2ac6d, 4574528, c664010

5 votes, 7 watchers

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions