Keyword

Showing strange date and translation problem

  • Fernando
  • Fernando's Avatar Topic Author
  • Offline
  • New Member
More
12 years 10 months ago #58646 by Fernando
I updated the K2 beta for 2.5.1, after that the date appearing in the articles is so weird:

URL: www.a2.jor.br/index.php/portouniaodavitoria/item/398-prefeitura-adquire-terreno-para-a-instalacao-de-mais-uma-area-industrial

At the end of article show: Última modificação em Quinta, 03 Novembro201117: 37 - C20111119000000Quinta30America/Sao_Paulo 053030p://p05p.11America/Sao_Paulo30/11pm11000000pmQuinta/p30_859R/f000000112011-11-03T17:37:19-02:003037201111.03pm30America/Sao_Paulo.p05p

I also did the translation into Portuguese, but not out of the English, until I manually copy the files to the server and nothing happens. Is there any other way to force into my language?

Joomla 1.7.0 pt-br Thanks for the help!

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

More
12 years 9 months ago #58647 by Rodrigo
Hi Fernando I'm having the same problem then you. Did you find any solution?

Portuguese:

Olá Fernando, eu instalei o package pt-BR e estou tendo o mesmo problema que você. Conseguiu achar alguma solução, se sim, por favor me avise como corrigir isso, ok?

Abraço
Rodrigo

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

More
12 years 6 months ago - 12 years 6 months ago #58648 by Giovanni Cândido
Replied by Giovanni Cândido on topic Re: Showing strange date and translation problem
I Solve the problem editing the files:

components/com_k2/templates/default/category_item.php

Comment the line: echo JHTML::_('date', $this->item->created , JText::_('K2_DATE_FORMAT_LC2')
And write: echo JHTML::_('date', $this->item->created );

Do the same for the file components/com_k2/templates/default/item.php

Note: You have to use timezone America/Sao_Paulo in php.ini or in joomla general configuration

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


Powered by Kunena Forum