Hi,
Is it possible to change the range of year ? By default year is between 2010 and 2030 (±10), how to remove this ?
I would like to select from 1930’s to 2020, I can select an old date but it’s 10 clicks !
fields:
date:
type: date
min: 01.01.1900
time: true
default: now
Same problem but not solved with this solution.
Maybe my config.php is gulty :
return [
'debug' => true,
'date.handler' => 'strftime',
It’s ok with y-m-d !
sections:
meta:
type: fields
fields:
date:
type: date
min: '1902-01-01'
time: true
default: now
But can’t get 1901 or less :-/
Maybe an issue with your PHP? Are you on 32-bit or 64-bit PHP?
No sure about this : 64-bit.
Localhost and host do the same.
Hm, I can’t reproduce this in my environment, I can set the date prior to 1900.
date:
type: date
min: '1890-01-01'
time: true
default: now
What is your PHP version? What does phpinfo
say? Which Kirby version?
OK, it’s my PHP Version 7.1.8 from Ampps (at first usefull but really bad software).
I double check on my host it’s OK !