DanielYKPan / date-time-picker

Angular Date Time Picker (Responsive Design)
https://daniel-projects.firebaseapp.com/owlng/date-time-picker
MIT License
565 stars 356 forks source link

[IMPROVEMENT] Dynamic pattern input for momentjs in case multiple datetime picker #704

Open huyit88 opened 4 years ago

huyit88 commented 4 years ago

Hi Daniel, This is nice datetime picker plugin. I am using it for my projects. Currently, i don't know how to apply dynamic moment pattern for it. So i have to rewrite the new component to apply it, of course date-time-picker is under the hood. I would like to suggest if we can make a component with simple and independent parameters: <moment-datetime-picker [(date)]="date1" [pattern]="DD.MM.YY"> <moment-datetime-picker [(date)]="date2" [pattern]="MM.YY"> or <date-time-picker adapter='moment' [(date)]="date" [pattern]="DD.MM.YY"> <date-time-picker adapter='moment' [(date)]="date" [pattern]="MM.YY"> We will decide whether or not showing "time " part by pattern input if pattern contains "HH,mm,ss..." This will simplify the component and easily to use. I am at your disposal.

gongAll commented 4 years ago

⛔ ⛔ ⛔ WARNING : READ BEFORE CREATING ISSUES ⛔ ⛔ ⛔ This library was abandoned by its owner. I tried to contact him about 3 months ago with no success. Please cease to open new issues as they will not be handled by him. If you want, there is a fork created by Daniel Moncada and his team which is being currently maintained. Please don't open new issues here so that new users won't be mislead into believing this repo is still up-to-date.