mbostock/d3 — pull request #762 by jasondavies (2012-08-12 20:30:39+00:00)
Title: Automate d3.time.format locale generation.

This avoids having to include a large number of locales in the D3 repository itself, and also reduces the potential for typos when transcribing locale mappings. Even if we do want to include many locales, we can include this as a script for easily generating them.

Ideally the generated locale file should be deleted, otherwise unnecessary locale files could be left lying around. A change in the LOCALE environment variable is not currently detected by the Makefile, so I wonder if the current locale should be stored in some kind of dot-file so a change can be detected. Is there a standard way for doing this?