HTML5 Data Bindings Formatter Support Product Page

Solved

Formatting Date problem

Reported 03 Oct 2014 08:50:22
1
has this problem
03 Oct 2014 08:50:22 Luca lucag posted:
Hello
I need to format the date from yyyy-mm-dd to dd-mm-yyyy
I do it, but the date disappears from the page.

{{NEWS_data.formatDate( "dd-MM-yyyy" )}}


Strangely , DW (CS5) shows the given field as WCHAR and not as a datetime or similar (MSSQL Server client legacy problem?).



Could this be the problem? If yes, how to solve it?
Thank you
Regards
Luca

Replies

Replied 03 Oct 2014 09:21:58
03 Oct 2014 09:21:58 Teodor Kuduschiev replied:
Hello,
Please provide a link to your page, where we can check this.
Replied 03 Oct 2014 12:38:23
03 Oct 2014 12:38:23 Luca lucag replied:
... (removed)
Replied 03 Oct 2014 12:54:03
03 Oct 2014 12:54:03 Teodor Kuduschiev replied:
Please make sure the
<script type="text/javascript" src="ScriptLibrary/dmxDataFilters.js"></script>
Is included after the dmxDataset.js include
Replied 03 Oct 2014 13:10:38
03 Oct 2014 13:10:38 Luca lucag replied:
Thank you Teodor... now work fine

Happens often that the hierarchy of js causes problems (lightbox, tooltips etc..). Maybe you should to prepare a "handbook" for these cases.

Thank you
Regards
Luca

Reply to this topic