This is an auto-generated support/comment thread for
AuthorTimestamp.
Use this forum to post any comments about this addition or any questions you have regarding its use.
Brief Description:
Outputs author of the document and it's creation time/date, can be formatted totaly.
After the $docInfo is created on the snippet code add line: if ($docInfo[’isfolder’]) { return; }
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
The snippet gives me me a wrong date: 01 January 1970... And is possible to get the month in my language (Dutch) ? I saw you use strftime and the variables for it, so it should work. But the output stays in English...
The date/time is retrieved from the server.. what format did you use?
To get the date in dutch, call
setlocale() php function in the snippet, you could put forexample:
setlocale(LC_ALL, ’nld_nld’);
to top of your confic.inc.php to have the effect in all snippets..
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
Looking at AuthorTimeStamp snippet.
I want to have my docs tagged as follows:
Author: Me, Created: 2005-08-21, Last Updated: 2006-11-17
Do I just hack around with AuthorTimeStamp to "customize" it for my own needs... Or is there a "re-usable" way to do this? (I mean, having two dates.. I can do the date configuration easily enough.)
Cheers
Gordon
use this to get the author and created date and the one in extras to do just the modified date. Or edit one snippet from this.
"He can have a lollipop any time he wants to. That's what it means to be a programmer."