angular2-datepicker | Angular2 date time picker | Datepicker library
kandi X-RAY | angular2-datepicker Summary
kandi X-RAY | angular2-datepicker Summary
Simple Angular2 date picker. Image 1. mydatepicker in normal mode. Image 2. mydatepicker in inline mode.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of angular2-datepicker
angular2-datepicker Key Features
angular2-datepicker Examples and Code Snippets
Community Discussions
Trending Discussions on angular2-datepicker
QUESTION
We are using angular2-datepicker (https://www.npmjs.com/package/angular2-datetimepicker) in our project. We need to use 24 hour timeformat. But it looks like it does not work throughout the component.
In the screenshot below, you can see I can change the format in the field marked by 1., but not the format of the fields marked by 2. or 3.
You can see the settings im using here: https://angular-xsv9yq.stackblitz.io
Is this a bug in the component or am i missing a setting?
...ANSWER
Answered 2018-Oct-02 at 14:48Since you are open to using alternative to angular2-datepicker you could use OwlDateTimePicker.
From their Readme:
1) Install with npm:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install angular2-datepicker
npm install
Open a terminal and type "npm start"
Open "http://localhost:5000" to browser
To install this component to an external project, follow the procedure:.
Make sure you're using Webpack and have installed raw-loader, postcss-loader and sass-loader.
npm install angular2-datepicker.
import {MyDatePickerModule} from 'mydatepicker';
import Datepicker module
Use the following snippet inside your template: <my-date-picker [options]="myDatePickerOptions" (dateChanged)="onDateChanged($event)" [selDate]="selectedDate"></my-date-picker>
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page