Jump to content

tunidatetimepicker format


Wilton Ergon

Recommended Posts

 

I have the same problem with this link, when typing the date in the tunidatetimepicker component
the solution presented in the link works

is there any way to apply this to all tunidatetimepicker controls in the project

because I have hundreds of date controls in my project.

 

 

Link to comment
Share on other sites

7 hours ago, wilton_rad said:

is there any way to apply this to all tunidatetimepicker controls in the project

because I have hundreds of date controls in my project.

Hello,

You can try this approach.

MainForm.Script:

Ext.form.field.Date.prototype.altFormats="dmY|m/d/Y|n/j/Y|n/j/y|m/j/y|n/d/y|m/j/Y|n/d/Y|m-d-y|m-d-Y|m/d|m-d|md|mdy|mdY|d|Y-m-d|n-j|n/j";

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...