Date Formats

Install and configure FormaLMS and DoceboCE
Post Reply
jwood01
Newbie
Posts: 9
Joined: Mon Dec 30, 2019 10:58 pm
Version: forma.lms 2.0

Date Formats

Post by jwood01 »

Specifically I am trying to change the date format for the Certificate Completion Date.

Using any of the date shortcode gives a default format of d/m/Y and we would like to be able to change these.

Specifically for the [date_complete] or [today]

Thank you for your help.

alfa24
Senior Boarder
Posts: 1006
Joined: Fri Nov 24, 2017 8:45 am
Version: forma.lms 1.4.2

Re: Date Formats

Post by alfa24 »

You could try to add your desired format in regional settings table in the database. However, if you'll continue experiencing issues, you'll have to fix the code, too.
I'm Jasmines, the One. If you need, you can contact me.

jwood01
Newbie
Posts: 9
Joined: Mon Dec 30, 2019 10:58 pm
Version: forma.lms 2.0

Re: Date Formats

Post by jwood01 »

Thank you for the response.

Can you elaborate, are you saying to edit the database directly or is there supposed to be Regional settings in the software?

There are dates being displayed using different formats in the software and I am not finding anywhere to affect this.

If you mean I have to set a Translation, I thought of this and all I am seeing is the ability to change Labels.

I am comfortable editing the code, if you could tell me where.

Thank you for the help.

alfa24
Senior Boarder
Posts: 1006
Joined: Fri Nov 24, 2017 8:45 am
Version: forma.lms 1.4.2

Re: Date Formats

Post by alfa24 »

Table responsible of regional setting is core_reg_setting.
For additional information and debug support, contact me with a PM.
I'm Jasmines, the One. If you need, you can contact me.

jwood01
Newbie
Posts: 9
Joined: Mon Dec 30, 2019 10:58 pm
Version: forma.lms 2.0

Re: Date Formats

Post by jwood01 »

Thank you!

Once I set the default region I was able to change the date format in the core_reg_setting and works as intended.

Post Reply