Remove punctuation from DateTime regardless of localization - Mendix Forum

Remove punctuation from DateTime regardless of localization

2

The issue

Currently, when using specific DateTime formats, Mendix seems to be adding punctuation to DateTimes. Here's an example:

In the format example, there is no punctuation.

However, when running the application where the user language is Dutch, the following appears:

A period is added after the month – one that we cannot remove. 

When selecting a different language such as English (UK), the period is removed:

The solution

To address this issue, I would propose not adding any punctuation to DateTimes. As punctuation can still be added manually (either in the default datetime settings of an entire language or in the widget itself), this should allow for more customizability.

Cons / risks

Existing applications may have to manually add punctuation where it was formerly implicitly added

asked
0 answers