Forums

Forums / Developing Portals / Note Widget and Date

Note Widget and Date

3 posts, 1 answered
  1. Missing user
    Missing user avatar
    09 Feb 2023
    Link to this post
    I added createdon and cretedby to the Additional Fields Note model and modified the template to display the two fields.  The createdby field displays correctly but the createdon field displays does not.

    This is what displays above the Note Title row.
        Mason Ambery /Date(1675959095000)/

    How do I correct this or apply the proper format to display the Created On date of the note?
  2. Missing user
    Missing user avatar
    Answered
    14 Feb 2023
    Link to this post
    I got this to work by using this.
    <span>Created On: </span>#= kendo.toString(kendo.parseDate(createdon, 'dddd, MMMM dd, yyyy h:mm tt'), 'dddd, MMMM dd, yyyy h:mm tt') #
  3. Missing user
    Missing user avatar
    15 Feb 2023 in reply to Missing user
    Link to this post
    Hi Mason,

    Yes it looks like the date was not correctly formatted and was displaying in a time format. 

    Regards,
    Tom
3 posts, 1 answered