Giter Club home page Giter Club logo

Comments (6)

minijoomla avatar minijoomla commented on August 15, 2024

k2 forum items:
http://getk2.org/community/New-to-K2-Ask-here-first/170475-DateTime__construct-datetime--construct-
http://getk2.org/community/Comunidade-K2-Brasil/163670-DateTime__construct-datetime--construct
http://getk2.org/community/New-to-K2-Ask-here-first/126742-Error-500-when-saving-K2-Items-and-Categories#175695

from k2.

kavadas avatar kavadas commented on August 15, 2024

Hi. The solution you are suggesting is not solving the issue. The item will be saved with no error but this way the dates will stop to be timezone aware. Probably the issue is in the Persian language file.

from k2.

minijoomla avatar minijoomla commented on August 15, 2024

Hi, ok. but issue is not for persian, check joomal article manager, it has not problem. for timezone must use another way.

from k2.

kavadas avatar kavadas commented on August 15, 2024

The article manager uses a different language file. K2 has it's own language files. Probably the K2 Persian language file does not include the variable "K2_J16_DATE_FORMAT_CALENDAR" or it's translation is in incorrect format.

from k2.

minijoomla avatar minijoomla commented on August 15, 2024

k2 persian language has variable "K2_J16_DATE_FORMAT_CALENDAR"
test: in k2 change $dateFormat value to joomla date format and test it. and check it.

from k2.

paulosimas avatar paulosimas commented on August 15, 2024

I'm using the translation pt-br (Brazilian Portuguese) and also has the variable "K2_J16_DATE_FORMAT_CALENDAR" and the solution presented here worked for me, I have tested and everything is fine.

from k2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.