Gantt chart culture date format issue

2 posts, 0 answers
  1. Piotr
    Piotr avatar
    15 posts
    Member since:
    Feb 2015

    Posted 15 Apr 2015 Link to this post

    Can you tell me there is a way to change date pattern in columns in Gantt chart? The problem is that "ABBR.DAYNAME MONTH/DAY" is not polish format. The correct format is "ABBR.DAYNAME DAY/MONTH" but i can change this. I tried to modify pl-PL culture:                        

    patterns: {                            
                               d: "yyyy-MM-dd",
                                D: "d MMMM yyyy",
                                F: "d MMMM yyyy HH:mm:ss",
                                g: "yyyy-MM-dd HH:mm",
                                G: "yyyy-MM-dd HH:mm:ss",
                                m: "d MMMM",
                                M: "d MMMM",
                                s: "yyyy'-'MM'-'dd'T'HH':'mm':'ss",
                                t: "HH:mm",
                                T: "HH:mm:ss",
                                u: "yyyy'-'MM'-'dd HH':'mm':'ss'Z'",
                                y: "MMMM yyyy",
                                Y: "MMMM yyyy"
                            },

    but still the date is in incorrect format. 
    Regards

  2. Bozhidar
    Admin
    Bozhidar avatar
    1102 posts

    Posted 17 Apr 2015 Link to this post

    Hi,

    The gantt widget exposes options for the header template in each view. You can find them here:
    http://docs.telerik.com/kendo-ui/api/javascript/ui/gantt#configuration-views.timeHeaderTemplate

    Regards,
    Bozhidar
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Kendo UI is VS 2017 Ready
Back to Top