Issue #1635134 by hairqles, floretan, webflo: Move date format translation functions from locale to system.