.. include:: /Includes.rst.txt .. _feature-1791342145: ===================================================== Feature: Choose how the company shows dates and times ===================================================== Description =========== Admins choose the company settings ``dateFormat`` (``language``, ``iso``, ``dayMonthYearDot``, ``dayMonthYearSlash``, ``monthDayYearSlash``, ``dayMonthNameYear``) and ``timeFormat`` (``language``, ``twentyFourHour``, ``twelveHour``). With ``language``, the default, the reader's language decides as before; the other formats fix the order of day, month and year or the clock for everyone in the company. Screens, the dates in translated texts, the change history and printed reports follow them; CSV and XLSX files for tools and the API keep their machine-readable dates. The change history shows dates in the company's format instead of the raw value. Impact ====== Nothing changes for companies that keep ``language``. Packages format dates with ``formatDate()``, ``formatTime()``, ``formatDateTime()`` and ``formatDateRange()`` of ``@adsum/core/i18n/DisplayFormats.js`` and pass the company's ``DisplayFormats`` to ``LocalisedFormatter``. .. index:: API, Frontend, Database, package:adsum-core, package:adsum-reporting