Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
lantis Posted January 28, 2020 Posted January 28, 2020 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?
Meddysong Posted January 28, 2020 Posted January 28, 2020 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.
lantis Posted January 28, 2020 Author Posted January 28, 2020 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.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.