fortnight.js icon indicating copy to clipboard operation
fortnight.js copied to clipboard

Allow developers to provide their own array of month names

Open mattbasta opened this issue 9 years ago • 0 comments

For L10n purposes. Ideally, it wouldn't require a special global, so an external script could provide something like the following:

window.fortnight = {options: {months: ['Janvier', ...]}};

and the fortnight code would just extend the existing object.

This would be exceptionally useful.

mattbasta avatar Feb 02 '15 18:02 mattbasta