How to do custom culture calendar , or change actual value after change value?

2 posts, 1 answers
  1. Kiman
    Kiman avatar
    5 posts
    Member since:
    Jan 2016

    Posted 23 Nov 2017 Link to this post

    Hi, my Kendo UI version is 2017.3.913, my chrome version is 62.0.3202.94 .

    What I want to do is Taiwan Calendar(MSDN: )

    Basically just minus 1911 from common era's year, example: select 2017/11/24, show as 106/11/24.

    but still need keep duration as common era, can't use common era as Taiwan calendar ,

    example: if input 11/24/106 to demo's date picker , it even doesn't support year before 1900...


    Or, how to change actual year after I input/pick date?

    Like, if I input 106/11/24, maybe can change it's actual year to 2017,

    so user can see Taiwan calendar year, and program also can get common era date 2017/11/24.

    Also, if user pick date 2017/11/24, change visible text to 106/11/24, but keep actual date type value as 2017/11/24.


    If datepicker can't support this situation, maybe I just hide date picker's input and do a textbox myself,

    and do  text convert to date, date convert to text process or something...

  2. Answer
    Georgi avatar
    381 posts

    Posted 27 Nov 2017 Link to this post

    Hello Kiman,

    By default the Kendo DatePicker has min value set to 01 January 1900. Once the min value is overridden, selecting dates before 1900 is possible. For better understanding please refer to the following dojo:

    Another solution is to modify the input of the user to valid UTC date within the blur event of the input:

    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top