[RESOLVIDO] K2 salvando com data errada

  • thgcivic
  • Avatar de thgcivic Autor do Tópico
  • Offline
  • JCB! Geek
  • JCB! Geek
Mais
13 anos 9 meses atrás #60671 por thgcivic
thgcivic created the topic: [RESOLVIDO] K2 salvando com data errada
Ola novamente
estou usando o K2 na versao 2.5.4
esta funcionando direitinho
o unico problema e quando salvo a noticia
ele salva com a data errada
29/11/1999 <!-- s:( --><img src="{SMILIES_PATH}/icon_e_sad.gif" alt=":(" title="Triste" /><!-- s:( -->

o q poderia ser?
inté <!-- s:ugeek: --><img src="{SMILIES_PATH}/icon_e_ugeek.gif" alt=":ugeek:" title="Uber Geek" /><!-- s:ugeek: -->

[b:1fi4zh5y]Acesse minha página [url:1fi4zh5y]http://www.webmasterthg.com.br/[/url:1fi4zh5y][/b:1fi4zh5y]
[b:1fi4zh5y][i:1fi4zh5y]Não respondo dúvidas por MP, por favor crie um tópico ñ custa nada[/i:1fi4zh5y][/b:1fi4zh5y]

Please Entrar ou Registrar to join the conversation.


  • thgcivic
  • Avatar de thgcivic Autor do Tópico
  • Offline
  • JCB! Geek
  • JCB! Geek
Mais
13 anos 9 meses atrás #60707 por thgcivic
thgcivic replied the topic: Re: K2 salvando com data errada
Olá descobri o motivo
tem alguma coisa na tradução q estava fazendo isso
agora n seu o q <!-- s:evil: --><img src="{SMILIES_PATH}/icon_evil.gif" alt=":evil:" title="Mal ou Muito Furioso" /><!-- s:evil: -->

[b:1fi4zh5y]Acesse minha página [url:1fi4zh5y]http://www.webmasterthg.com.br/[/url:1fi4zh5y][/b:1fi4zh5y]
[b:1fi4zh5y][i:1fi4zh5y]Não respondo dúvidas por MP, por favor crie um tópico ñ custa nada[/i:1fi4zh5y][/b:1fi4zh5y]

Please Entrar ou Registrar to join the conversation.

  • thgcivic
  • Avatar de thgcivic Autor do Tópico
  • Offline
  • JCB! Geek
  • JCB! Geek
Mais
13 anos 9 meses atrás #60980 por thgcivic
thgcivic replied the topic: Re: K2 salvando com data errada
Olá galera
consegui resolver o problema

na linha 205 do arquivo pt-BR.com_k2
vai ter a seguinte linha:
K2_DATE_FORMAT_CALENDAR="%d/%m/%Y %H:%M:%S"

basta substituir as barras por hifen ficando assim:
K2_DATE_FORMAT_CALENDAR="%d-%m-%Y %H:%M:%S"

Inté <!-- s:ugeek: --><img src="{SMILIES_PATH}/icon_e_ugeek.gif" alt=":ugeek:" title="Uber Geek" /><!-- s:ugeek: -->

[b:1fi4zh5y]Acesse minha página [url:1fi4zh5y]http://www.webmasterthg.com.br/[/url:1fi4zh5y][/b:1fi4zh5y]
[b:1fi4zh5y][i:1fi4zh5y]Não respondo dúvidas por MP, por favor crie um tópico ñ custa nada[/i:1fi4zh5y][/b:1fi4zh5y]

Please Entrar ou Registrar to join the conversation.

Mais
13 anos 8 meses atrás #63205 por thunder_df
thunder_df replied the topic: Re: [RESOLVIDO] K2 salvando com data errada
Olá thgcivic!
Onde vc conseguiu a tradução pt-br do K2 2.5.4? Procurei pela net e ainda não encontrei...
Valeu!

Please Entrar ou Registrar to join the conversation.

  • thgcivic
  • Avatar de thgcivic Autor do Tópico
  • Offline
  • JCB! Geek
  • JCB! Geek
Mais
13 anos 8 meses atrás #63247 por thgcivic
thgcivic replied the topic: Re: [RESOLVIDO] K2 salvando com data errada
Ñ me lembro aonde encontrei
mas o arquivo eh esse q estou colocando em anexo
inté <!-- s:ugeek: --><img src="{SMILIES_PATH}/icon_e_ugeek.gif" alt=":ugeek:" title="Uber Geek" /><!-- s:ugeek: -->

[b:1fi4zh5y]Acesse minha página [url:1fi4zh5y]http://www.webmasterthg.com.br/[/url:1fi4zh5y][/b:1fi4zh5y]
[b:1fi4zh5y][i:1fi4zh5y]Não respondo dúvidas por MP, por favor crie um tópico ñ custa nada[/i:1fi4zh5y][/b:1fi4zh5y]

This message has an attachment file.
Please log in or register to see it.

Please Entrar ou Registrar to join the conversation.