Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Splits dates textmarks #113

Open
bozoh opened this issue Dec 11, 2014 · 6 comments
Open

Splits dates textmarks #113

bozoh opened this issue Dec 11, 2014 · 6 comments

Comments

@bozoh
Copy link
Owner

bozoh commented Dec 11, 2014

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 bozoh added this to the 2.2.1 milestone Dec 11, 2014
@noiseasy
Copy link

noiseasy commented Aug 2, 2016

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!

@bozoh
Copy link
Owner Author

bozoh commented Aug 2, 2016

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

@noiseasy
Copy link

noiseasy commented Aug 2, 2016

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

@bozoh bozoh added the Epic label Feb 2, 2017
@bozoh
Copy link
Owner Author

bozoh commented Feb 2, 2017

The {DATE} will be for course or activity complementation

@bozoh
Copy link
Owner Author

bozoh commented Nov 10, 2017

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

@noiseasy
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants