Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

localize gathering dates #1206

Closed
wants to merge 1 commit into from
Closed

Conversation

ahdinosaur
Copy link
Contributor

%2fV/5OP/V6ttz5K4YrvUw2TsL/L0W0JEUXX2y/no7U4=.sha256

(haven't tested)

%2fV/5OP/V6ttz5K4YrvUw2TsL/L0W0JEUXX2y/no7U4=.sha256
@christianbundy
Copy link
Contributor

Nice! To use the language selected in Patchwork settings, you can also use api.settings.obs.get('patchwork.lang', 'en')() like in 78ba69d.

funwhilelost pushed a commit that referenced this pull request Dec 18, 2019
This removes the internal timeAgo and uses moment's localized fromNow.  It also shows the tooltip timestamp localized as moment.format('LLLL zz') with the chosen language in the settings.  This branches off @ahdinosaurs prior art in #1206 and implements it across the codebase.  Also removes the human-time requirement.
funwhilelost pushed a commit that referenced this pull request Dec 18, 2019
This removes the internal timeAgo and uses moment's localized fromNow.  It also shows the tooltip timestamp localized as moment.format('LLLL zz') with the chosen language in the settings.  This branches off @ahdinosaurs prior art in #1206 and implements it across the codebase.  Also removes the human-time requirement.
@christianbundy
Copy link
Contributor

Looks like this was solved in 7f5208b! 🎉

Closing now.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants