Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Podcasts Podcasts
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 105
    • Issues 105
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 17
    • Merge requests 17
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • World
  • PodcastsPodcasts
  • Merge requests
  • !215

episode: localize the episode date string

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open nee requested to merge nemuii/podcasts:251-localize-dates into master Feb 12, 2022
  • Overview 2
  • Commits 3
  • Pipelines 2
  • Changes 6

Date strings would output month names always in English.

Now the chrono unstable-locales feature is used to localize the date string. Redundant formatting code was moved into utils.

Closes #251

Waiting for feedback on: #251 (comment 1382447) then I'll remove the draft status.

In a second commit I also moved the duration formatting code to utils and fixed some panic crashes when the episode duration is above 24h.

Edited Apr 06, 2022 by nee
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: 251-localize-dates