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

DateTime doesn't handle seconds #6951

Closed
reverdin opened this issue Jun 17, 2016 · 3 comments
Closed

DateTime doesn't handle seconds #6951

reverdin opened this issue Jun 17, 2016 · 3 comments
Assignees
Milestone

Comments

@reverdin
Copy link

I tried to put a DateTime as following:
<ion-datetime displayFormat="HH:mm:ss" pickerFormat="HH:mm:ss"></ion-datetime>

The picker only show two column (hour and minutes) and the displayed value is "13:20:ss" if I select 13 for the hours and 20 for minutes.

@jgw96
Copy link
Contributor

jgw96 commented Jun 17, 2016

Hello, thanks for opening an issue with us! Would you be able to provide a plunker that demonstrates this issue? Thanks for using Ionic!

@jgw96 jgw96 added v2 needs: reply the issue needs a response from the user labels Jun 17, 2016
@reverdin
Copy link
Author

Never used plunker but can give a try later.

I am using a blank starter with beta2 and typescript.

I just putted the following code in the content fo the home.html file:
<ion-item><ion-datetime displayFormat="HH mm ss" pickerFormat="HH mm ss"></ion-datetime></ion-item>

Using Ionic Framework Version: 2.0.0-beta.9

Here is a screenshot of my browser with ionic serve
blank_starter_et_home_html_ myfirstapp_app_pages_home __users_reverdin_dropbox_ionic_test_timers_app

@Ionitron Ionitron removed the needs: reply the issue needs a response from the user label Jun 17, 2016
@jgw96
Copy link
Contributor

jgw96 commented Jun 17, 2016

Hello @reverdin i was able to reproduce this issue here: http://plnkr.co/edit/J8qPI5vCdU4ICgaKVMlg?p=preview . Is this code similar to what your doing?

@jgw96 jgw96 added this to the 2.0.0-beta.11 milestone Jun 17, 2016
@jgw96 jgw96 added the datetime label Jun 17, 2016
@adamdbradley adamdbradley self-assigned this Jun 28, 2016
@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Sep 8, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants