Date format other than yyyy-mm-dd

23 views
Skip to first unread message

Jan Cirpka

unread,
Apr 30, 2021, 11:42:54 AM4/30/21
to enketo-users
As it seems dates are to be entered in the yyyy-mm-dd format. The local browser settings are not applied (which would be in my 'Dutch' case dd-mm-yyyy). Curious why this is, I quickly peeked into the generated code and see indeed that the control is of type 'text' with a date widget attached to it.
Before digging deeper, is there any way to set it e.g. to the dd-mm-yyyy format?

Martijn van de Rijdt

unread,
May 3, 2021, 12:51:45 PM5/3/21
to enketo...@googlegroups.com
Hi Jan, 

There isn't a way to change the format. What you're referring to is the underlying data format. When entering a date manually without using the picker that's what has to be entered. This is because dates are complex enough already and we're assuming the datepicker is used for most date entries.

You can use format-date() to display or convert a date.

Cheers,
Martijn

On Fri, Apr 30, 2021 at 9:42 AM Jan Cirpka <jan.c...@gmail.com> wrote:
As it seems dates are to be entered in the yyyy-mm-dd format. The local browser settings are not applied (which would be in my 'Dutch' case dd-mm-yyyy). Curious why this is, I quickly peeked into the generated code and see indeed that the control is of type 'text' with a date widget attached to it.
Before digging deeper, is there any way to set it e.g. to the dd-mm-yyyy format?

--
You received this message because you are subscribed to the Google Groups "enketo-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to enketo-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/enketo-users/4c059136-6946-4094-865d-23efc9bbd116n%40googlegroups.com.


--
Pushing data since 2012.

Enketo    |    LinkedIn    |    GitHub    |    Twitter    |    Blog

-- 
Revolutionizing data collection since 2012.

Enketo    |    LinkedIn    |    GitHub    |    Twitter    |    Blog
Reply all
Reply to author
Forward
0 new messages