Commit 260d144b authored by Jason Davies's avatar Jason Davies
Browse files

Add optional en_GB locale.

Also, expose the optional zh_CN locale as d3.locale.zh_CN.
parent e4d5da3d
import "locale";
var d3.locale.en_GB = d3.locale({
decimal: ".",
thousands: ",",
grouping: [3],
currency: ["£", ""],
dateTime: "%a %e %b %X %Y",
date: "%d/%m/%Y",
time: "%H:%M:%S",
periods: ["AM", "PM"],
days: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
shortDays: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
months: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],
shortMonths: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]
import "locale";
var d3_locale_zhCN = d3.locale({
var d3.locale.zh_CN = d3.locale({
decimal: ".",
thousands: ",",
grouping: [3],
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment