Skip to content

Handle datetime after switching locales properly#2824

Merged
mshibuya merged 1 commit into
railsadminteam:masterfrom
roberthead:datetime-locale-switching
Feb 17, 2018
Merged

Handle datetime after switching locales properly#2824
mshibuya merged 1 commit into
railsadminteam:masterfrom
roberthead:datetime-locale-switching

Conversation

@roberthead

Copy link
Copy Markdown

When switching locales, our datetime fields were not displaying in the proper format. Removing the memo-ization of @parser in the Datetime field type fixes the problem.

Would be happy to pair with a maintainer or contributor who knows the codebase and project spec style better.

@mshibuya mshibuya merged commit 7c1db24 into railsadminteam:master Feb 17, 2018
@mshibuya

Copy link
Copy Markdown
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants