Comments (2)
Yes, it takes the current hour. It won't pick the in between minutes like 3:15 or 3:30 etc. It takes 3:00 or 4:00 etc.
But as per your suggestion i have added that feature, so that it will pick the current time. Let's say if the current time is 13:14, then it will use the same time when you click on the button.
Also you can pass the time as shown below, so that it will pick the current hours and minutes. If ignore this inputEpochTime
property then i t will pick the current hours and minutes, but it won't be shown on the button, until you select some time.
$scope.timePickerObject12Hour = {
inputEpochTime: ((new Date()).getHours() * 60 * 60) + ((new Date()).getMinutes() * 60), //Optional
....
};
Please take a look at this commit
from ionic-timepicker.
it works! thanks for help
from ionic-timepicker.
Related Issues (20)
- 24 hrs format not working properly HOT 7
- Can't build project - Resulting minified file is "broken" HOT 3
- How to disable past time and meridians too HOT 1
- File references in index.html HOT 1
- Random minute display HOT 1
- Customize Popup
- v0.6.0 is not on NPM yet HOT 1
- Minute arrows not visible. HOT 1
- Max time HOT 1
- Issue with local time HOT 1
- How to disable previous dates?
- How to get AM PM with time?
- Display 00:00 AM in place of 12:00 AM HOT 1
- Limit first and last hour HOT 1
- How can I display just 00:10 ??? any setup showing 12:10... I need Select just 10 seconds. HOT 1
- Issue - Need to press Set button twice for the modal to close
- Time picker is allowing alphabets and character as input.
- Callback on close
- how to use in ionic 2 HOT 1
- Not syncing with ionic2-calendar
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ionic-timepicker.