Date Formatting Issues

Backend functionalities: user management, course management, reports, certificates, etc.
Post Reply
justlooking
Newbie
Posts: 9
Joined: Sun Jul 06, 2014 9:25 pm
Version: forma.lms 1.2

Date Formatting Issues

Post 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
justlooking
Newbie
Posts: 9
Joined: Sun Jul 06, 2014 9:25 pm
Version: forma.lms 1.2

Re: Date Formatting Issues

Post 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!
User avatar
max
FormaLms Guru
Posts: 2759
Joined: Thu Mar 01, 2012 10:41 am
Version: forma.lms 2.4
Contact:

Re: Date Formatting Issues

Post by max »

Hi,
thanks for sharing!
---------------------
Massimiliano Ferrari
Elearnit - Elearning e Knowledge Management
https://www.elearnit.net
https://www.linkedin.com/in/massimilianoferrari
m.ferrari[at]elearnit.net
Skype: m_ferrari_it
User avatar
canelli
FormaLms Guru
Posts: 496
Joined: Thu Nov 08, 2012 12:21 pm
Version: forma.lms 2.0
Contact:

Re: Date Formatting Issues

Post 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 .
Cercate nel forum le riposte prima di chiedere. Check the forum before posting
---------------
Claudio Anelli
Joint Technologies - Sistemi avanzati per l'information technology

http://www.joint-tech.com
---------------
imjustsarah
Newbie
Posts: 2
Joined: Thu Jul 09, 2015 2:04 am
Version: forma.lms 1.4

Re: Date Formatting Issues

Post 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
User avatar
max
FormaLms Guru
Posts: 2759
Joined: Thu Mar 01, 2012 10:41 am
Version: forma.lms 2.4
Contact:

Re: Date Formatting Issues

Post 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..
---------------------
Massimiliano Ferrari
Elearnit - Elearning e Knowledge Management
https://www.elearnit.net
https://www.linkedin.com/in/massimilianoferrari
m.ferrari[at]elearnit.net
Skype: m_ferrari_it
mrblt
Newbie
Posts: 1
Joined: Wed Aug 12, 2015 1:24 pm

Re: Date Formatting Issues

Post 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
Post Reply