[flexi 2.0]date display array

More
12 years 3 months ago #22337 by Rehne
Replied by Rehne on topic [flexi 2.0]date display array

ggppdk wrote: There is no reason why this should happen. Because 'date' field returns "string" always not array.

comment
so the following does not work
Code:
echo $date_array[0];

Therefore, i use the PHP function strtotime

The strtotime() function parses an English textual date or time into a Unix timestamp (the number of seconds since January 1 1970 00:00:00 GMT).

Code:
$Date = $items[$i]->fields['datedebut']->display; $Date = ( date('Y-n-d', strtotime($Date))); ... ... $event_date = strftime("%A, %d. %B %Y",strtotime($Date)); ...

The strftime() function formats a local time or date according to locale settings.


www.w3schools.com/php/func_date_strftime.asp

maybe that will help further!?

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago #22341 by micker
it strange when i load created date with flexicontent code it work ....
Maybe a bug in new version ?
thanks Rehne i will test it ?

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago #22380 by micker
somebody have the same error ?
j!2.5 and FLEXIContent - 2.0 - preRC3 r1110
i am adventure !

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago #22386 by micker
i try j!17 and FLEXIContent - 2.0 - preRC3 r1110
date field works !
very strange ...

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago #22388 by ggppdk
Ok, now we know where to look :D


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago #22390 by micker
lool

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.278 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline