Jump to content

Date format

Featured Replies

Posted

Hi, I'm using the following code:

{datetime="$comment->author()->joined" dateonly="true" norelative="true"}

This returns the format MM/DD/YYYY when I'd like it to return DD/MM/YYYY, how is this achievable?

I think all you have to do is change your language to en_gb and the site will use the British format. My guess is that yours is set to the default en_US, and so is using the US format. 

  • Author
1 hour ago, Meddysong said:

I think all you have to do is change your language to en_gb and the site will use the British format. My guess is that yours is set to the default en_US, and so is using the US format. 

Edit: This worked thank you very much.

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.