HomePage Forums Traveler Translate

This topic contains 32 replies, has 2 voices, and was last updated by  Bryan 4 years, 1 month ago.

Viewing 3 posts - 31 through 33 (of 33 total)
  • Author
    Posts
  • #6560

    Hi,

    Sorry, but did not show. The format you indicated in your reply https://shinehelp.shinetheme.com/forums/topic/translate/page/21/#post-6043
    is a format with the Month in full, like Outubro and I want Out (abbreviated format), see that there is a difference, do not you think?

    Is it possible or not to abbreviate the month?

    Thanks

    #6566

    Hi,

    I was able to make the date format work.

    I used the second:
    <span><?php st_the_language("added_on") ?> <?php echo esc_html(date('j M Y', strtotime($data['date']))); ?></span>

    If I put the code to know what the variable loads.

    <?php echo var_dump($data['date']);?>
    		<span><?php st_the_language("added_on") ?> <?php echo esc_html(date('j M Y', strtotime($data['date'])));  ?></span>	

    You can see the original date loaded and the date shown by your code change. How to make the date come back to be the original 13 Oct, 2017, as per the attached image.

    Why this?

    Thanks

    Attachments:
    You must be logged in to view attached files.
    #6767

    Hello

    If you want to go back to default date format layout, you can copy same file from theme package to live site folder and replace the current file.

    Thanks

Viewing 3 posts - 31 through 33 (of 33 total)

The forum ‘Traveler’ is closed to new topics and replies.