> For the complete documentation index, see [llms.txt](https://docs.navigaglobal.com/writer/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.navigaglobal.com/writer/6.3.4/admin-guide/publish-flow/configuration-of-calendarlocale.md).

# Configuration of calendarLocale

How to get the date and time picker to work in the Publish Flow.

## Introduction

As you select time for scheduled publication and publishing you have to set the locale for calendar information. The input fields in the Save- and Publishdialog that need need the set up of calendarLocale is found here:\
![](https://677567182-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZhrAmZtyBbF7fWLKl8%2F-LvA-TcjyjstBn3ck9LG%2F-LvA0pqm52nCBuk5BBgg%2FScreenshot%202019-12-02%20at%2017.20.52.png?alt=media\&token=60c30504-90cd-4ee2-b7ee-36d9db0f94d0)

This is a setting in the main configuration and not just in the Publish Flow plugin configuration.

## Calendar configuration for date picker and timepicker

To enable new `UIDatePicker` and`UITimePicker` components to display date and time correctly writer config needs to include a new property:

```
{
  "newsItemTemplateId": "30eae1c0-c640-4053-b114-05c64e28bbe7",
  "enableUserTemplate": true,
  "language": "sv_SE",
  "labelLanguage": "sv",
  "calendarLocale": "sv",
  ...
```

The `calendarLocale` above is **new client** **configuration** that is necessary using the PublishFlow plugin in version > 2.1.0. This will decide first day of week for example. This will also show dates and time in a specific way (NewsML will always be stored in "Zulu" time). Example of time variation in the Writer client:

`en: hh:mm AM/PM`\
`sv: hh:mm`\
`fi: hh.mm`

This will also set the timezone according to the local timezone for that location.

Some keys from this is translated using our Branding plugin (from/to), some are not included in the Branding plugin (like month).

See the separate plugin-documentation [here](https://plugins.writer.infomaker.io/).
