Public Ticket #861028
Change date format to my country format


  •  2
    Lucas started the conversation

    Hi guys! How are u?

    Btw, this theme rocks :) Congratz.

    I live in Brazil, and the Date format of posts and many items are in other format, like YYYY-MM-DD or AUG, 14 2016

    But here in Brazil we use DD-MM-YYYY like 14 AGO 2016 (ago are Agosto, or August in english). I've changed date format="YYYY-MM-DDD" for "DD-MM-YYY" but not worked out. When it works, the month are set to English i.e AUG.

    Do you guys help me to change that? 

    Thank you so much!

  •  110
    Estudio replied

    Hi!, thank you for buying Symmetric, about your questions:

    We are from Chile and we have the same problem, Ghost doesn't allow date formats in other languages, because the complete system is only in English.

    What we can do in this case?

    You can use numbers only format in all your dates (with some code knowledge), example:

    At homepage open symmetric/index.hbs:

    <time datetime="{{date format="YYYY-MM-DD"}}">{{date}}</time>

    This code should be:

    <time datetime="{{date format="YYYY-MM-DD"}}">{{date format="DD-MM-YYYY"}}</time>

    The visible date is inside the <time> tag.

    Another user had the same problem (sorry it is in spanish but maybe can help you): https://estudiopatagon.ticksy.com/ticket/841573

    Important: datetime attribute is just for Search Engines, so all "{{date}}" codes, must be changed.

    Hope this may help you!!