DHTMLX / vue-gantt-demo

dhtmlxGantt with vue.js
128 stars 39 forks source link

关于locale语言设置的问题 #3

Closed WuPanFeng closed 6 years ago

WuPanFeng commented 6 years ago

我设置语言为中文版以后 <div class="gantt_scale_cell" aria-label="20 4月" style="width:74px;height:34px;position:absolute;left:440px">20 4月</div> 正常应该是 4月20日 汉化版的显示反了。

AlexKlimenkov commented 6 years ago

Hi, locales currently contain only the translations of labels and month/week names, not the date formats

You can change the date format in the related configs https://docs.dhtmlx.com/gantt/desktop__configuring_time_scale.html#dateformat https://docs.dhtmlx.com/gantt/desktop__configuring_time_scale.html#multiplescales Here are date format details https://docs.dhtmlx.com/gantt/desktop__date_format.html

If the translations themselves appears to be incorrect, feel free to point the issue, here is the locale definition: https://github.com/DHTMLX/gantt/blob/master/codebase/sources/locale/locale_cn.js#L100

ps: please use English if possible, otherwise I have to rely on a google translate to understand you