Only date fields allow a date format mask. If you define a textfield for a database column of date we always get the the full format including the time and seconds. In that case you would use the datafield type so you can specify a mask. However if the field is display only, you would like to not see the calendar icon beside it. I think it is confusing as it implies you can select a date from the calendar. Yes you can define view to solve that issue but it that just seems a long winded way to do something simple. Could we maybe have a feature where we can set a default dateformat mask for an application.

asked 21 May '14, 02:11

Raymond's gravatar image

Raymond
24320
accept rate: 0%


Hi Raymond,

If your date value is display only, it's possible to achieve your request using the textLabel component and its dateFormat attribute:

<textLabel dateFormat="DD-MM-YYYY"/>

Regards,
Ibrahim

link

answered 21 May '14, 14:43

Ibrahim%20Sandalli's gravatar image

Ibrahim Sand... ♦♦
1.5k5
accept rate: 25%

Thanks Ibrahim, that certainly helps. Could I still put in an enhancement request - either allow to specify a default date format mask at application level - add option of date format mask to a domain

(21 May '14, 20:04) Raymond
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×6

Asked: 21 May '14, 02:11

Seen: 815 times

Last updated: 21 May '14, 20:04


© Copyright Gerger 2017