0
我想在d3日期将语言更改为西班牙语。更改默认语言环境日期d3 v4
为此在D3 V3可以使用
var format = {
"decimal": ".",
"thousands": "",
"days": ["Domingo", "Lunes", .....]}
var localeFormatter = d3.locale(format)
但是现在D3 V4 d3.locale不见了。和
d3.timeFormatDefaultLocale(format)
似乎什么也不做,我不知道是bug还是什么。
我不想格式化这个链接的时间D3 time-format。 我想要改变语言。 ?
我曾尝试
d3.local(format)
d3.timeFormatDefaultLocale(format)
d3.timeFormatLocale(format)
¿有人能帮助我在此...