How does the html5 code below translate into ee code? thanks
<time datetime="2009-10-22" pubdate> October 22, 2009 </time>This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
November 24, 2010 5:33pm
Subscribe [2]#1 / Nov 24, 2010 5:33pm
How does the html5 code below translate into ee code? thanks
<time datetime="2009-10-22" pubdate> October 22, 2009 </time>#2 / Nov 26, 2010 12:51pm
Do you mean how would you write EE code to produce that HTML?
You would just use a date variable—like Current Time and the proper date formatting string.
#3 / Nov 26, 2010 12:53pm
Do you mean how would you write EE code to produce that HTML?
You would just use a date variable—like Current Time and the proper date formatting string.
yes - getting myself confused with the “date= ” part and the string part. in this case, the date shown here is the weblog entry date.
#4 / Nov 26, 2010 12:56pm
Use the weblog entry date twice, with different format strings for the different date formats the HTML has.
#5 / Nov 26, 2010 9:04pm
All sorted. thanks!