amsul / pickadate.js

The mobile-friendly, responsive, and lightweight jQuery date & time input picker.
http://amsul.ca/pickadate.js
MIT License
7.7k stars 1.01k forks source link

Limit the view mode to months or weeks or years #117

Open halcyonandon opened 11 years ago

halcyonandon commented 11 years ago

Hi,

Love this for a calendar/date picker, but I'm going to end up being forced to use http://www.eyecon.ro/bootstrap-datepicker/ for a particular filter I have where the user searches by effective month/year. It would be great to have an option in pickadate that allows for other types of date-selection besides full calendar.

amsul commented 11 years ago

I'm glad you like :)

I'm not sure I understand what you mean by "searches by effective month/year". Do you mean being able to select an entire month slot?

halcyonandon commented 11 years ago

Yes, so instead of a full calendar, it would simply be a list of months. I referenced the eyecon.ro datepicker because of how it integrates a month/year picker as an option that allows it to be included/excluded with the standard calendar or instantiated on its own.

halcyonandon commented 11 years ago

Here's a screenshot of what I did to the before-mentioned datepicker to get a month/year picker.

screen shot 2013-04-29 at 4 49 28 pm

amsul commented 11 years ago

Oh I right, I see.. that would be kinda neat.

The picker has an “extend” API which could be used to create custom pickers - such as this one. The docs for this won’t be available until after v3 is out though. I'll leave this issue open till then because this would be a great example to show as an extension.

halcyonandon commented 11 years ago

@amsul awesome, thanks!

augustianne commented 10 years ago

@amsul hi, can you provide an example how to go about the month/year selector. I can't fin anything in the docs. Thanks.

naton commented 9 years ago

I understand this is still an open ticket, but is there any progress or ETA on this very cool feature? :)

amsul commented 9 years ago

It’ll be a part of v4: #446

Aiming to have a beta by the end of the year :+1:

naton commented 9 years ago

@amsul awesome! :)

vautrinr commented 9 years ago

Hey ! Just love your pickadate version :+1: Is it possible to select only the months on the current version?

p0tvin29 commented 8 years ago

Is the month only view available on 4.0.0 yet ? If so, can you explain how to get this feature to work? Awesome work! Thanks.

anotheri commented 8 years ago

:+1:

mjhannaf commented 8 years ago

Wondering if this is available yet too

BrunoCodeman commented 8 years ago

Nothing, after 3 years...

hfrid commented 7 years ago

No news?

ac1982 commented 7 years ago

Just pick month/year, most used in credit card information. So it would be very helpful and useful.

bnopacheco commented 7 years ago

+1

nayayan commented 7 years ago

+1

clarastar commented 7 years ago

+1

diegonakamashi commented 7 years ago

+1

sam100rav commented 7 years ago

Is there a way yet to show only days and months (no years and weekdays) in the calendar with this plugin?

JulieBeck commented 7 years ago

+1

WeslleyNasRocha commented 7 years ago

+1

tostercx commented 7 years ago

+1

dennishochhaus commented 7 years ago

+1 ... hope amsul finds someone soon to maintain this project and add this feature

lenilsonjr commented 7 years ago

+1

kevencarneiro commented 6 years ago

+1

ghost commented 6 years ago

+1

PQALAB commented 6 years ago

+1

GlennVanSchil commented 6 years ago

+1

ghost commented 6 years ago

+1

geosigno commented 6 years ago

+1

maciek-wozniak commented 6 years ago

+1

SamThilmany commented 5 years ago

@amsul What happened to this issue? Will anything happen in the foreseeable future?

DanielRuf commented 5 years ago

@SamThilmany any help (PRs) is very welcome.

PiotrObrebski commented 5 years ago

+1

mccm2310 commented 4 years ago

+1

dpezer commented 4 years ago

+1

artur79 commented 3 years ago

+1