Closing date

Backend functionalities: user management, course management, reports, certificates, etc.
Graeme59
FormaLms User
Posts: 117
Joined: Thu May 05, 2016 6:53 am
Version: forma.lms 2.0
Location: UK
Contact:

Closing date

Post by Graeme59 »

Hi,
Happy New Year.
Forma 3.0.1
I have Refresher modules, set to start on a set date 1/09/2022 then due to close on 30/09/2022 (see image Back)
The My Courses page, it is showing the module closing on 1 January 1970. See (image Front)
If I remove the end date and add 30 days validity it shows 19th September 2021 as the end date?
Any ideas what this may be?
Cheers
Graeme
Attachments
Back.png
Front.png
Front.png (86.17 KiB) Viewed 2080 times
User avatar
max
FormaLms Guru
Posts: 2735
Joined: Thu Mar 01, 2012 10:41 am
Version: forma.lms 2.4
Contact:

Re: Closing date

Post by max »

Hi Graeme, are you sure you inserted the dates in the correct format? It should be dd-mm-yyyy, not with the slash.
If you put the slash, it might be that after saving your course the system reset it to the default.

Also, days of validity doesn't have nothing to do with the date shown as end date.
---------------------
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
Graeme59
FormaLms User
Posts: 117
Joined: Thu May 05, 2016 6:53 am
Version: forma.lms 2.0
Location: UK
Contact:

Re: Closing date

Post by Graeme59 »

Hi Max,
The slash is the only option, it adds them automatically.
In addition, I have just noticed the automated reports are not being sent.
The only change I can see is my hosting company updated the PHP 7.4 to 7.4.27 could this cause an issue?
Cheers
Graeme
Attachments
slash.jpg
User avatar
max
FormaLms Guru
Posts: 2735
Joined: Thu Mar 01, 2012 10:41 am
Version: forma.lms 2.4
Contact:

Re: Closing date

Post by max »

This is what I see: I set October 24th and it shows correctly in the front end.
timeoptions.PNG
timeoptions.PNG (4.15 KiB) Viewed 2066 times
closing_date.PNG
closing_date.PNG (10.24 KiB) Viewed 2066 times
I don't think the php version is an issue.

Finally, just check if the cron job is correctly set.
---------------------
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
Graeme59
FormaLms User
Posts: 117
Joined: Thu May 05, 2016 6:53 am
Version: forma.lms 2.0
Location: UK
Contact:

Re: Closing date

Post by Graeme59 »

Hi Max,
Ah, the cron job makes sense!
How strange that you are seeing - and I am seeing /.
Also, the text is different. Yours shows 'Closing date' mine shows 'Closing data'.
The correct date is shown in the Dashboard Calendar.
Cheers
Graeme
User avatar
max
FormaLms Guru
Posts: 2735
Joined: Thu Mar 01, 2012 10:41 am
Version: forma.lms 2.4
Contact:

Re: Closing date

Post by max »

The text ("closing data") is just a typo in the language management, you can correct it there just like I did in my installation.
---------------------
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
Graeme59
FormaLms User
Posts: 117
Joined: Thu May 05, 2016 6:53 am
Version: forma.lms 2.0
Location: UK
Contact:

Re: Closing date

Post by Graeme59 »

Hi Max,
Repaired the typo thank you.
Graeme59
FormaLms User
Posts: 117
Joined: Thu May 05, 2016 6:53 am
Version: forma.lms 2.0
Location: UK
Contact:

Re: Closing date

Post by Graeme59 »

Hi Max,
Any thoughts on the date issue?
Where does the date picker in the Course Time (not editions), draw the current date from, when I open it, it's showing by default November 0?
Cheers
Graeme
alfa24
Senior Boarder
Posts: 2009
Joined: Fri Nov 24, 2017 8:45 am

Re: Closing date

Post by alfa24 »

I think datepicker is not using the same separator and date format as in your regional settings.
Per supporto GRATUITO contattatemi in privato qui
Graeme59
FormaLms User
Posts: 117
Joined: Thu May 05, 2016 6:53 am
Version: forma.lms 2.0
Location: UK
Contact:

Re: Closing date

Post by Graeme59 »

Hi alfa24,
Thanks for your assistance.

My regional settings in my config.php file are below and I can't see any ref in my php.ini file to timezone or location.

//$cfg['timezone'] = 'Europe/London'; // define if different from php.ini setting
//$cfg['set_mysql_tz'] = false; // set mysql timezone same as php timezone , default false

This has also affected my timed reports, changed cron but reports are still not being sent.
Cheers
Graeme
Post Reply