D3 2.10 adds support for static localization of d3.time.format. When building D3, specify the LOCALE environment variable. For example, to build a version of D3 for Russian:
LOCALE=ru_RU make clean all