components icon indicating copy to clipboard operation
components copied to clipboard

md-datepicker

Open jelbourn opened this issue 10 years ago • 132 comments

Status:

  • There is no public Material Design spec that works for both desktop and mobile (the current spec is mobile-only). The design team is working on this.
  • We have some contributors exploring an implementation.

jelbourn avatar Jun 13 '16 15:06 jelbourn

Hello @jelbourn , do you know when this md-datepicker's feature (md-calendar) will be available? Where I can find the current contributor's work for this ? Thanks

arnaudforaison avatar Aug 31 '16 08:08 arnaudforaison

@jelbourn something worth investigating: code.promactinfo.com/md2/datepicker - squeeze in a md-select for the year part and you got one steamy md-datepicker :grinning:

ghost avatar Sep 04 '16 10:09 ghost

Along with md-datepicker, would be nice to have a md-timepicker, like this. This feature will be available?

marcoskubis avatar Sep 15 '16 16:09 marcoskubis

Hello @jelbourn, Just the md-datepicker is not so useful in a lot of the cases in my point of view because is necessary the time to be used in filter forms. Would be good to have a md-datetimepicker where you configure the format date, time or datetime. This way we don't need to mix datepicker and timepicker to create the Date object that is going to be used in the system. A good example is https://eonasdan.github.io/bootstrap-datetimepicker/. I use it with jQuery to create a component but would be nice to have a pure component using just angular2.

andvasp avatar Sep 24 '16 12:09 andvasp

Would be nice If it has multi date select option and an option to exclude dates.

a5hik avatar Sep 24 '16 18:09 a5hik

@arnaudforaison in the meantime you could try to use this one.. it's not the best implementation ever a it lacks a dialog view but i think it could be a good start https://material2-extra.firebaseapp.com/ https://github.com/gnucoop/material2-extra

trik avatar Sep 27 '16 08:09 trik

Hello guys (thanks for your awesome work)

I just would like to ask news about this element, any ETA? Is someone working on it? Can we contribute?

AlBlanc avatar Oct 11 '16 14:10 AlBlanc

Date picker is not working with angular 2 .Not showing anything days,month or year.

VisualtThreat avatar Oct 12 '16 07:10 VisualtThreat

@VisualtThreat You might be seeing the issue I filed. Does it work for you in Chrome? https://github.com/angular/material2/issues/1333

ross-nordstrom avatar Oct 12 '16 13:10 ross-nordstrom

No, only some design displays.No data displayed.

On Oct 12, 2016 7:28 PM, "Ross Nordstrom" [email protected] wrote:

@VisualtThreat https://github.com/VisualtThreat You might be seeing the issue I filed. Does it work for you in Chrome? #1333 https://github.com/angular/material2/issues/1333

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/angular/material2/issues/675#issuecomment-253220951, or mute the thread https://github.com/notifications/unsubscribe-auth/AR2ryxz89T9X1dblBrpBkk3bZoW7x0kHks5qzOeXgaJpZM4I0cvd .

VisualtThreat avatar Oct 12 '16 14:10 VisualtThreat

Hi, thanks for your great work. I have 2 questions about the md-datepicker:

  1. Will it support german (or any other) dates? e. g. dd.mm.YYYY?
  2. Will there be a option to use the picker for time only or datetime-combination? (ref angular 1 material https://github.com/angular/material/issues/4745)

stefan-niedermann avatar Oct 21 '16 08:10 stefan-niedermann

Hi, Yes ,we will get get these two supports .But the material date picker is not yet released from officially . You can refer this https://github.com/angular/material2 .I have used some other solution that is not working in my case.

On Fri, Oct 21, 2016 at 2:01 PM, Niedermann IT-Dienstleistungen < [email protected]> wrote:

Hi, thanks for your great work. I have 2 questions about the md-datepicker:

  1. Will it support german (or any other) dates? e. g. dd.mm.YYYY?
  2. Will there be a option to use the picker for time only or datetime-combination?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/angular/material2/issues/675#issuecomment-255324644, or mute the thread https://github.com/notifications/unsubscribe-auth/AR2ry_HvsBZZOXWN97zqZ5knDYqJvwZQks5q2HhsgaJpZM4I0cvd .

Thanks & Regards, Manjunath S S J11240

VisualtThreat avatar Oct 25 '16 18:10 VisualtThreat

I have you will develop:

  • datepicker
  • timepicker
  • datetimepicker

all of them supporting:

  • ISO format as data input or output
  • custom disply / locale format

hkusulja avatar Oct 27 '16 21:10 hkusulja

A daterange picker would be awesome too!

bergben avatar Nov 07 '16 23:11 bergben

Hi, I've started to develop a md-datepicker !

It respect many requirements quoted in #1746, like:

  • Support for accessibility
  • Support for i18n (RTL)
  • Support for theming
  • Following our coding standards
  • Using existing infrastructure (such as the Overlay service) // I use a dialog, but whatever.
  • + Implementation on MomentJS.

But I have many issues with the dialog and the input:

  • input: events, it auto focus when dialog close..
  • dialog: padding of the container.

@jelbourn said:

In particular, with the datepicker, we're not quite ready to go into implementation because a revision for the Material Design spec is in the works.

So ? I have to wait ?

Thanks !

bastienlemaitre avatar Nov 15 '16 20:11 bastienlemaitre

@bastienlemaitre we are indeed waiting on a revised spec for the date-picker.

I'd encourage you to release your datepicker as a standalone package and we can revisit the component in @angular/material after our beta release.

jelbourn avatar Nov 16 '16 02:11 jelbourn

Here a preview of the date selector

https://github.com/angular/material2/pull/1903

Demo https://material2-demoapp.firebaseapp.com/date-picker

Frly avatar Nov 17 '16 03:11 Frly

Looking forward to this! It would be awesome if it can also show the week number (at least as an option).

anders-hard avatar Nov 17 '16 14:11 anders-hard

Just as @a5hik @marcoskubis @andvasp @hkusulja mentioned, this 3 components shipped in material2 would be killing features (+md-table): . datepicker . timepicker . datetimepicker

damianobarbati avatar Nov 21 '16 11:11 damianobarbati

something I noticed is commonly forgotten: make it possible to type the date, maybe with some mask? Most datepickers i was for ng2 are click only! Oh... and a way to clear the field as well...? thanks!! excellent work!

m--c avatar Dec 06 '16 15:12 m--c