App Connect Data Formatter Support Product Page
Solved
Formatting Dates not works
Reported 21 May 2017 10:34:37
1
has this problem
21 May 2017 10:34:37 Michele - posted:
Hello,I'm trying to format dates using this tutorial, but not works (the date disappears):
www.youtube.com/watch?v=Gij7fBwcEPo
This is the code used:
{{date_news.formatDate("dd-MM-yyyy HH:mm")}}
The date in the MySQL table (engine MyISAM, field type: timestamp) is format in this way:
yyyy-mm-dd hh-mm (e.g. 2017-05-21 14:57:37)
In others webpages with traditional php format code, I'm usually used:
<?php echo(date("F d, Y", strtotime($row_rsNews['date_news']))); ?>
Also, in the browser "console" I receive these error:
Failed to load resource: the server responded with a status of 404 (Not Found)
{url}/dmxAppConnect/maps/dmxFormatter.js.map
Failed to load resource: the server responded with a status of 404 (Not Found)
{url}/dmxAppConnect/maps/dmxAppConnect.js.map
Replies
Replied 22 May 2017 07:06:51
22 May 2017 07:06:51 Teodor Kuduschiev replied:
Hello Michele,
Please provide a link to your page, where we can check this.
Please provide a link to your page, where we can check this.
Replied 22 May 2017 08:47:45
22 May 2017 08:47:45 Michele - replied:
Hi Teodor,
I sent you an email with the parameters to access to the hosting + mysql for the test/debug.
Thanks.
I sent you an email with the parameters to access to the hosting + mysql for the test/debug.
Thanks.
Replied 22 May 2017 09:29:45
22 May 2017 09:29:45 Michele - replied:
upd (1): I just checked that the problem occurs only on Safari browser, on Chrome date formatting is ok.
upd (2): also, the problem occurs on IE11 browser (and previous), on Edge/Firefox is ok.
upd (3): I noticed that the hours are indicated one hour back (in my country now we have the European Summer Time).
upd (2): also, the problem occurs on IE11 browser (and previous), on Edge/Firefox is ok.
upd (3): I noticed that the hours are indicated one hour back (in my country now we have the European Summer Time).
Replied 29 May 2017 14:46:22
29 May 2017 14:46:22 Michele - replied:
Hi Teodor... news about my problem with the "format date"?
Replied 30 May 2017 06:26:15
30 May 2017 06:26:15 Teodor Kuduschiev replied:
Hi Michele,
We are working on the issue, and hopefully it will be fixed in the next update.
We are working on the issue, and hopefully it will be fixed in the next update.
Replied 30 May 2017 12:15:23
30 May 2017 12:15:23 Michele - replied:
Ok, thanks.
Replied 21 Jul 2017 13:06:19
21 Jul 2017 13:06:19 Michele - replied:
I've seen that you have fixed with the last update (1.1.0).
Thanks!
Thanks!