Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.

DateTimePicker for Nette Framework

DatePicker and DateTimePicker input controls for Nette Framework

This add-on creates input box to select date or date and time.

Requirements

GNU Lesser General Public License

LGPL licenses are very very long, so instead of including them here we offer you URLs with full text:

Example of using DI extension

config.neon:

extensions:
  tbDatePicker: RadekDostal\NetteComponents\DateTimePicker\TbDatePicker\DI\TbDatePickerExtension
 
tbDatePicker:
  format: j. n. Y

Form:

$form->addTbDatePicker('date', 'Date')
  ->setNullable()
  ->setRequired(FALSE)
  ->addRule(self::RANGE, NULL, [new \DateTime('2016-09-01'), new \DateTime('2016-09-15')]);

Learn more in examples.