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 the Time Period (am/pm) in ion-datetime #16279

Open
troydcthompson opened this Issue Nov 8, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@troydcthompson

troydcthompson commented Nov 8, 2018

Bug Report

Ionic Info

@ionic/core@4.0.0-beta.15

Ionic: 

   ionic (Ionic CLI) : 4.2.1 (/Users/troydcthompson/.nvm/versions/node/v8.9.4/lib/node_modules/ionic)

Cordova:

   cordova (Cordova CLI) : 8.0.0
   Cordova Platforms     : none
   Cordova Plugins       : no whitelistedplugins (0 plugins total)

System:

   ios-deploy : 2.0.0
   NodeJS     : v8.9.4 (/Users/troydcthompson/.nvm/versions/node/v8.9.4/bin/node)
   npm        : 6.4.0
   OS         : macOS High Sierra
   Xcode      : Xcode 9.3 Build version 9E145

Describe the Bug
There isn't a way to translate the am/pm time period in ion-datetime, whereas we can translate the cancelText, doneText, monthShortName, etc.

Steps to Reproduce
Steps to reproduce the behavior:

  1. Implement ion-datetime,
  2. Enter cancelText, doneText, monthShortName variables
  3. Try to enter "A" or timePeriod

Related Code
Same issue as found on this Ionic Forum Question

Expected Behavior
Expect to have a variable for the am/pm variables that we can translate

@ionitron-bot ionitron-bot bot added the triage label Nov 8, 2018

@alexsilvar

This comment has been minimized.

alexsilvar commented Nov 10, 2018

Can I take it? I have some idea how to handle it.

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