Skip to content

add localization of date-times for post meta#1111

Closed
arash16 wants to merge 2 commits intoadityatelange:masterfrom
arash16:master
Closed

add localization of date-times for post meta#1111
arash16 wants to merge 2 commits intoadityatelange:masterfrom
arash16:master

Conversation

@arash16
Copy link
Copy Markdown

@arash16 arash16 commented Dec 25, 2022

What does this PR change? What problem does it solve?

It adds localized date-times for languages and locales other than en-us. for example when language is fa and languageCode is 'fa-IR', all post date-times are rendered in persian calendar, using javascript intl.

Was the change discussed in an issue or in the Discussions before?

nope, I don't think so.

PR Checklist

  • This change adds/updates translations and I have used the template present here.
  • I have enabled maintainer edits for this PR.
  • I have verified that the code works as described/as intended.
  • This change adds a Social Icon which has a permissive license to use it.
  • This change does not include any CDN resources/links.
  • This change does not include any unrelated scripts such as bash and python scripts.
  • This change updates the overridden internal templates from HUGO's repository.

@arash16 arash16 changed the title add localization of date-times for other locales add localization of date-times for post meta Dec 25, 2022
@sonarqubecloud
Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

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

Labels

no-activity No activity since long time

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants