import "locale";

d3.locale.es_ES = d3.locale({
  decimal: ",",
  thousands: ".",
  grouping: [3],
  currency: ["", " €"],
  dateTime: "%A, %e de %B de %Y, %X",
  date: "%d/%m/%Y",
  time: "%H:%M:%S",
  periods: ["AM", "PM"],
  days: ["domingo", "lunes", "martes", "miércoles", "jueves", "viernes", "sábado"],
  shortDays: ["lun", "mar", "mie", "jue", "vie", "vie", "sab"],
  months: ["enero", "febrero", "marzo", "abril", "mayo", "junio", "julio", "agosto", "septiembre", "octubre", "noviembre", "diciembre"],
  shortMonths: ["ene", "feb", "mar", "abr", "may", "jun", "jul", "ago", "sep", "oct", "nov", "dic"]
});

@@ -317,16 +317,23 @@
 tDays: %5B
+%22dom%22, 
 %22lun%22, %22
@@ -341,17 +341,17 @@
 ar%22, %22mi
-e
+%C3%A9
 %22, %22jue%22
@@ -364,17 +364,10 @@
 %22, %22
-vie%22, %22sa
+s%C3%A1
 b%22%5D,

Fix es-ES locale.