Our pure JavaScript Scheduler component


Post by brucelee »

entering "01.01.2019" manually (by keyboard)(with configured format DD.MM.YYYY) returns the January 1st 2019 // OK
entering "1.1.2019" manually (by keyboard) (with configured format DD.MM.YYYY) returns January 1st 1919 // NOK
entering "1.1.2019" manually (by keyboard) (with configured format D.M.YYYY) returns January 1st 1919 // also NOK

Is it somehow possible to also let the user enter dates without leading zeros for day and month. Do I have to configure the datefield(s) in a different way/format or is this a bug. I'm not quite sure, if I'm using the Framework wrong.

Post by Maxim Gorkovsky »

Hello.
Thank you for report, I opened a ticket here: https://app.assembla.com/spaces/bryntum/tickets/7643
While we are working on that, I can suggest specifying following format for date field (or date column) as closest to your need:
{ format : 'l' }
Or check if you find more suitable here: https://www.bryntum.com/docs/scheduler/ ... DateHelper

Post Reply