STRFTIME output is not working correctly with newsshow pro GK4

Free responsive Joomla 2.5 and 3.x module to present your content with easy and intuitive way.
Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Mon Aug 01, 2011 1:27 pm
Hi there, having an issue with newsshowpro GK4

Joomla 1.7
Newsshowpro v1.6

Trying to utilize the STRFTIME variables with the module, under article layout - getting some really weird output from the module when attempting to output the date and time of the article in the way I feel looks best.

This doesn't seem to be working at all correctly, no matter what I put in there for STFRTIME variable, it outputs wrong.

for example:

a-b-G

gives the output:


"pm-b-12"

where it should be:

Sun-Feb-2011

I am interested in the format "Mon, Aug 1, 2011 - 4:54 AM" but after playing with this a little bit, I think this is a bug in the module at this point.

Normally these variables are supposed to have a % in front of them, but the default in the module does not utilize them.

If anyone could provide some assistance with this, it would be much appreciated
User avatar
Fresh Boarder

teitbite
Mon Aug 01, 2011 7:32 pm
Hi

I believe DATE function was used there, so please try with this params:

http://php.net/manual/en/function.date.php
User avatar
Moderator

GK User
Fri Feb 03, 2012 10:14 am
Thats correct!
The "Alt" help is referencing to a wrong PHP-function. I also tried to use strftime and that gives a totally other output! :angry:
Use date-function as Teitbite says.

Sad, that this is still an issue in Music template of 01 december 2011.
Please update in News Show Pro GK4 version 3.02.

Henrik
User avatar
Expert Boarder

teitbite
Sat Feb 04, 2012 5:33 am
Hi

Thanks. I'll let programmers know.
User avatar
Moderator


cron