Wrong locale name rendered by {{ form.media }}

Variable {{ form.media }} will render:
STATIC/bootstrap3_datetime/js/locales/bootstrap-datetimepicker.pt-br.js

but the file is named with the uppercase "BR":
STATIC/bootstrap3_datetime/js/locales/bootstrap-datetimepicker.pt-BR.js