moodle-mod_simplecertificate icon indicating copy to clipboard operation
moodle-mod_simplecertificate copied to clipboard

Splits dates textmarks

Open bozoh opened this issue 10 years ago • 6 comments

Splits dates Enrollment date ({TIMESTART}) Issued date ({DATE}) certdate option 0, will be changed to {ISSUEDDATE} Course (or activity i don't remember) completion date ({DATE}) certdate option 1 Course Start Date (Course creation date?!?)

Split dates format too ? i think so Any other dates ?

bozoh avatar Dec 11 '14 10:12 bozoh

Hi bozoh I follow this thread since 2014 because i need to indicate the current year on certificates (in addition to the issue date). Splits dates it would be the perfect solution.

For example i could use course completion date, format: %Y

To stamp the current year actyually I have to change manually the year every 1st january or create 2 different certificates for each course straddling 2 years. Is there another way to do this?

Thank you very much for your work!

noiseasy avatar Aug 02 '16 10:08 noiseasy

the mod-simplecertificate can format date, in date format option You can use {DATE} and change the date option to issue date, and change the date format to %Y But i think you need the issue date and the year date, but the plugin has the enrollment date (i don't remember if you can format it) see the plugin's documentation/help for the textmark

Thanks for your opinion, would be better if all user vote for your favorites threads (the smile face on the upper right corner on thread box)

And i know this is an old thread, but without any support it's difficult to dedicate a time for it

bozoh avatar Aug 02 '16 12:08 bozoh

Thank you Carlos, as you said, i need both dates. And I need that the year is the same of the issued date. I also tried with {TIMESTART} format to %Y (the enrollment date is formattable) it works. But if the student enrolls in a year and finishes the course in the next, appears the year of enrollment as I need to appear the year that has finished the course.

Thanks anyway , if I find another solution I will update this thread

noiseasy avatar Aug 02 '16 13:08 noiseasy

The {DATE} will be for course or activity complementation

bozoh avatar Feb 02 '17 13:02 bozoh

I think it be better if i pass the date format with the textmark, avoiding to create more setting in this activity

I think something like:

{TIMESTART: %Y} this will format the date with %Y, if none specify it will use system default

bozoh avatar Nov 10 '17 11:11 bozoh

Would be the best solution. In my case I could use {DATE: %Y} and {DATE: %d-%m-%Y} in the same certificate for showing different type of dates

noiseasy avatar Nov 13 '17 09:11 noiseasy