[soved]change format date displaying

More
12 years 9 months ago #22427 by micker
nobody
for exemple février -> f#evrier ...
strange my document is in utf8 ...

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 9 months ago #22434 by ggppdk
micker what are you saying/asking about UTF8 and your document, can you describe in more details what is happening?


-- 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 9 months ago #22442 by micker
I put the code at previous in my template
It work perfect but Èé à ... doent display (?)
I try to save document in utf8 but ....same.eror

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 9 months ago #22445 by ggppdk
What is "Èé" is it AM and PM ?? that is printed by the strftime() function.
OR is it text that you write inside your document?

If it is text that you write inside your document you will need to convert "ASCII to UTF-8" via an editor. Of course the editor must be aware of the extended ASCII encoding you use before you click to convert.


-- 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 9 months ago #22446 by micker
éèà ... is in month février is f?vrier ...
i code this with your php code directly inside category_item.php
Code:
<?php $lang = JRequest::getWord('lang', '' ); if(empty($lang)){ $langFactory= JFactory::getLanguage(); $tagLang = $langFactory->getTag(); } setlocale(LC_ALL, $lang ); $Date = $items[$i]->created; $Date = ( date('Y-n-d', strtotime($Date))); $event_date = strftime("%A %d %B %Y",strtotime($Date)); $event_date_array = explode(" ",$event_date); ?> <div id="date"><span class="event-day"><?php echo $event_date_array[0];?></span> <span class="event-month"><?php echo $event_date_array[1]; ?></span> <span class="event-year"><?php echo $event_date_array[2]; ?></span></div>
my document is converting to utf-8..

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 9 months ago #22451 by Rehne
just a note:
need/should a php file to be converted to utf8?
as far as I know ... i don't think so!?

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 1.103 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