This is a migrated thread and some comments may be shown as answers.
Gantt chart culture date format issue
1 Answer 92 Views
This is a migrated thread and some comments may be shown as answers.
Piotr
Top achievements
Rank 1
Piotr asked on 15 Apr 2015, 07:50 AM

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

1 Answer, 1 is accepted

Sort by
0
Bozhidar
Telerik team
answered on 17 Apr 2015, 06:35 AM
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!
 
Tags
Gantt
Asked by
Piotr
Top achievements
Rank 1
Answers by
Bozhidar
Telerik team
Share this question
or