Editorial question71.4K views743 votes0 answers4,506 following
AI-generatedCan a d3.timeFormat instance adopt a new d3.locale without being re-created?
In d3 v4 and later, d3.timeFormat produces parsers that resolve locale-specific tokens such as %B , %b , %A , and %a using the locale active when the formatter is instantiated. The d3.locale object supplies translated month and day names, and parsing is strict: input strings must match the format pattern exactly. A documented behavior is that changing d3.loc