Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #432449 Score: 0
    Profile photo of clammers
    clammers
    Member
    beginner
    intermediate
    contributor
    curious george
    wise owl
    picture perfect
    friend finder
    advanced
    entry
    entry
    20 pts
    @clammers

    Is there any way to apply a date mask to a custom certificate? Default certificates display the date as MMMM DD, YYYY (e.g., August 12, 2019); however, custom certificates display the date as YYYY-MM-DD (e.g., 2019-08-12)

    There doesn’t appear to be anything listed in the Working with Certificates information, and I was hoping to display the dates the same on both the default and custom certificates.

    #432464 Score: 0
    Profile photo of tomdupont
    tomdupont
    Member
    beginner
    intermediate
    wise owl
    Group Member
    curious george
    @tomdupont

    I do custom certs like this:

    On the .ini file:

    CompCertDaySize=14
    CompCertDayX=490
    CompCertDayY=305
    CompCertMonthYearSize=14
    CompCertMonthYearX=490
    CompCertMonthYearY=430

    Looks like this:

    John Smith completed this course on the __(Day)___th day of ___Month___,  __Year___.

     

     

    #432466 Score: 0
    Profile photo of clammers
    clammers
    Member
    beginner
    intermediate
    contributor
    curious george
    wise owl
    picture perfect
    friend finder
    advanced
    entry
    entry
    20 pts
    @clammers

    Certainly a workaround – and worth considering, but wouldn’t that put you in situations where the date displays something like:

    John Smith completed this course on the 3th day of 82019

    • This reply was modified 4 days, 14 hours ago by Profile photo of clammers clammers.
    #432530 Score: 0
    Profile photo of Joe Wieloch
    Joe Wieloch
    Moderator
    beginner
    intermediate
    friend finder
    contributor
    LUC16 Attendee
    verified member
    wise owl
    LUC17 Attendee
    advanced
    picture perfect
    53 pts
    @wheels

    In Lectora Desktop you can specify the format of the date in publish strings (preferences):
    https://www.trivantis.com/help/Lectora/18.2/ENG/Lectora_Help/index.html#457.html?Highlight=func

    Otherwise you could include moment.min.js and use the examples there to set the formatted time, then put that into a Lectora variable:
    https://momentjs.com

    #432537 Score: 0
    Profile photo of clammers
    clammers
    Member
    beginner
    intermediate
    contributor
    curious george
    wise owl
    picture perfect
    friend finder
    advanced
    entry
    entry
    20 pts
    @clammers

    This would be for Lectora though, correct? We do utilize in-course certificates and use this feature; however, the issue is with CourseMill.

    #432651 Score: 0
    Profile photo of Joe Wieloch
    Joe Wieloch
    Moderator
    beginner
    intermediate
    friend finder
    contributor
    LUC16 Attendee
    verified member
    wise owl
    LUC17 Attendee
    advanced
    picture perfect
    53 pts
    @wheels

    Ah! @clammers you are right, please excuse my mistake…

    #432674 Score: 0
    Profile photo of John Eckhart
    John Eckhart
    Member
    beginner
    intermediate
    friend finder
    wise owl
    @jeckhart6008

    Unfortunately, there is no way to customize the completion date.

    The formatting does vary slightly between languages. For example, Spanish users will get a date format of dd/MM/yyyy.

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.