Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translate date when language change #7191

Merged
merged 1 commit into from
Nov 28, 2023
Merged

Conversation

coderNadir
Copy link
Contributor

@coderNadir coderNadir commented Nov 25, 2023

PR

Please note: we will close your PR without comment if you do not check the boxes above and provide ALL requested information.


Issue => #7175


Translate date when language change

Screenshots:

image

image

image

image

Copy link

nx-cloud bot commented Nov 25, 2023

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 13d56e5. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this CI Pipeline Execution


🟥 Failed Commands
nx serve api -c=production --prod

Sent with 💌 from NxCloud.

Copy link
Contributor

@adkif adkif left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@coderNadir The date picker seems to doesn't change language.

Screenshot 2023-11-25 at 6 00 58 PM

@@ -59,14 +60,19 @@ export class AppComponent implements OnInit, AfterViewInit {
this.jitsuService.trackPageViews();
this.seoService.trackCanonicalChanges();

// -- Translate date when language change
this.translate.onLangChange.subscribe(
(langChangeEvent: LangChangeEvent) => moment.locale(langChangeEvent.lang)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@coderNadir Investigate the origin of this warn message and eliminate it.

image

@rahul-rocket
Copy link
Collaborator

@adkif @evereq Can we merge this PR if is stable?

@adkif
Copy link
Contributor

adkif commented Nov 28, 2023

@rahul-rocket we can, @coderNadir will investigate and fix later all suggestions.

@coderNadir
Copy link
Contributor Author

@rahul-rocket yes you can merge it and I'll work on the requested changes later

@rahul-rocket rahul-rocket merged commit e9389d9 into develop Nov 28, 2023
18 of 19 checks passed
@rahul-rocket rahul-rocket deleted the feat/#7175-translate-date branch November 28, 2023 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants