Home Forums Theme Support Dokan Announcement Date not a complete…

This topic is: resolved

This topic contains 5 replies, has 2 voices, and was last updated by  towhid 4 years ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #42407

    Fred
    Member
    Post count: 63

    In the Announcement you display like:

    16
    Thursday
    2015

    …and it says nothing about the month. I think it should be like:

    April 16
    Thursday
    2015

    (if we click the title of the announcement, the date is proper)

    If we click on “Back to all Notice”, the date needs adjustment as well.

    #42460

    towhid
    Participant
    Post count: 4505

    Hello Fred,

    Please open wedevs-dokan-plugin/classes/template-notice.php and find this line ‘echo date(‘d', strtotime( $notice->post_date ) )' and replace with this line echo date('F j', strtotime( $notice->post_date ) )

    Thank you ๐Ÿ™‚

    #42477

    Fred
    Member
    Post count: 63

    Hi Towhid,
    That fixed it in /dashboard/announcement/ but not it dashboard itself.

    #42540

    towhid
    Participant
    Post count: 4505

    Hello Fred,

    Step 1: Please open wedevs-dokan-plugin/templates/dashboard.php

    Step 2: Find this line echo date( 'd', strtotime( $notice->post_date ) );

    Step 3: Replace this line over that line echo date( 'F d', strtotime( $notice->post_date ) );

    Please try yourself and let me know the result.

    Thank you ๐Ÿ™‚

    #42566

    Fred
    Member
    Post count: 63

    Perfect! Thanks.

    #42567

    towhid
    Participant
    Post count: 4505
    This reply has been marked as private.
Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Announcement Date not a complete…’ is closed to new replies.