The Elearning Community • Date Formatting Issues
Page 1 of 1

Date Formatting Issues

Posted: Sun Jul 20, 2014 4:20 am
by justlooking
Good day, gurus!

I really love having this community, as it has helped me with several issues I've run into recently. Thank you all for participating.

The issue I am currently having is related to the date formats shown in forma. The date appears in a dd/mm/yyyy in the layout_header section when a user logs in. The date format shows as yyyy-mm-dd on the charts that appear in the Admin panel of AppCore.

I would like to be able to have the date in the header show as mm/dd/yyyy in the header and mm/dd/yy in the charts. How can I accomplish this? Where do I fix/modify this?

Thanks in advance for the help.

William

Re: Date Formatting Issues

Posted: Sat Jul 26, 2014 8:08 pm
by justlooking
Just wanted to post a follow-up to let everyone know where this is found. This specific formatting was found in a couple of the sql files located in install > data > sql folder. Once I updated the formatting in the db_full.sql and framework.sql files.

As for the charts on the Admin Dashboard, you would have to add some style formatting in the javascript to accomplish the date formatting changes I was looking to do. You can find some more details at: https://yuilibrary.com/yui/docs/charts/ ... tyles.html

Hope this information helps others too. Thanks!

Re: Date Formatting Issues

Posted: Sun Jul 27, 2014 10:06 am
by max
Hi,
thanks for sharing!

Re: Date Formatting Issues

Posted: Mon Jul 28, 2014 9:56 am
by canelli
Thanks justlooking .

Currently, the date and Hour fields are not fully localized . So, as you and other guys pointed out in some threads you must tweek files to meet formatitng requirements.

We will insert a change request in our tracking system for a next release .

Re: Date Formatting Issues

Posted: Thu Jul 09, 2015 2:24 am
by imjustsarah
Hi,

I see this topic was last updated in 2012.

I cannot find a way to format the date via settings to mm/dd/yyyy.

Am I missing something or can you give me a tip on where to update the code? The above information doesn't seem to be valid.

Thanks,
Sarah

Re: Date Formatting Issues

Posted: Thu Jul 09, 2015 7:29 am
by max
Hi Sarah

date localization is still not in our roadmap.

However, the info suggested by "justlooking" and commented by anellic can still be useful. The link was broken, yet, as you found out

it had "httpS://" rather than http;//, that's why you couldn't access it.

The correct link is http://yuilibrary.com/yui/docs/charts/c ... tyles.html

btw: it was 2014..

Re: Date Formatting Issues

Posted: Wed Aug 12, 2015 1:26 pm
by mrblt
Hi i have a problem when i look at the report i dont wanna see Hours i just wanna see as minute like : 1 h 23 m, it has to be 83 m

who can help me ?

thanks for all