statamic / v2-hub

Statamic 2 - Feature Requests and Bug Reports
https://statamic.com
95 stars 5 forks source link

Support a manageable date fieldtype with settings for collection's date meta field #665

Open bruzed opened 8 years ago

bruzed commented 8 years ago

Steps to reproduce

  1. Add a date field
  2. Try to select a year before 1900

    Expected behaviour

Should be able to select a year before 1900.

Actual behaviour

The year doesn't go below 1900 by clicking on the arrows.

screen shot 2016-05-03 at 1 29 57 pm

Unable to save and wonkiness if the year is updated manually.

screen shot 2016-05-03 at 1 28 28 pm

Server configuration

Operating system: OSX 10.11.4 (Running on MAMP) Web server: Apache PHP version: 5.6.10 Statamic version: 2.0.1 Updated from an older Statamic or fresh install: No. List of installed addons: None.

lesaff commented 8 years ago

The default start date for this calendar is 01-01-1900 which works for most people.

Perhaps we need a fieldset option to change the start/end date?

bruzed commented 8 years ago

That sounds good @lesaff

jackmcdade commented 8 years ago

I added support for earliest_date on the fieldtype itself, we just need to work it into the collection's default date field now.