Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
andreamarucci
Experienced
Topic Author
Posts: 308
Joined: 01 Mar 2011, 11:13

Date show the time gone

13 Dec 2015, 14:59

Since my gallery is about events, in each gallery I'd like to put the event date but if I put the date (like 02/02/2015 that stand for 02 february 2015) and in context tab -> Items I put the date, no date is shown but just the time passed from the event like 10 months ago. How can I make that the real date appear there?
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13998
Joined: 30 Sep 2006, 03:37

Re: Date show the time gone

14 Dec 2015, 10:47

Unfortunately, the date is currently locked to "time ago" format (as on Facebook etc). We need to include a date-format setting, so you can choose your own format. This will be available in next major release, so you will have to wait a bit for this feature.

In the meantime, you could add dates manually into the top of your page content something like this:
Code
<h6 class="date"><time itemprop="dateUpdated" datetime="2015-11-01T00:00:00+01:00" title="01 November 2015">01 January 2015</time></h6>
 
User avatar
andreamarucci
Experienced
Topic Author
Posts: 308
Joined: 01 Mar 2011, 11:13

Re: Date show the time gone

14 Dec 2015, 11:15

I'll wait for the next release since now the dates are in the description fields and are show as I like...