Giter Site home page Giter Site logo

Bug in about.php about xoopscore25 HOT 3 CLOSED

xoops avatar xoops commented on September 21, 2024
Bug in about.php

from xoopscore25.

Comments (3)

geekwright avatar geekwright commented on September 21, 2024

Please test using the current master. The current line 485 in moduleadmin.php cannot result in those errors.

It looking nearby, it is likely an issue in the xoops_version.php for the module. Check the 'release_date' key. This date needs to be specified like this:

$modversion['release_date'] = '2016/03/14';

With 4 digit year, a slash, two digit month, a slash, and a two digit day. No other formats are acceptable at this time, and it is the developer's responsibility to set this correctly when using the 'about' page.

from xoopscore25.

txmodxoops avatar txmodxoops commented on September 21, 2024

I've seen that concerns xoops_version but the problem is when I change language with English goes well we must find a way to adapt to the local.

Unfortunately I realized now that using the constant variable _DATESTRING in module tdmcreate, and when I loaded the Italian language, I did not notice the problem.

From now on all languages, for translations, we will use the format defined xoops yyyy/mm/dd

from xoopscore25.

geekwright avatar geekwright commented on September 21, 2024

The data in xoops_version.php might be used in contexts where the localization isn't known. The date is source data, and any localization should occur where it is displayed, not where it is stored. (Important word there is "should.")

Xoops 2.5 is weak in the area of date and time localization, so I'm not looking to fix the display issue there. In 2.6, PHP DateTime objects are used extensively, and we will have full localization and better timezone support. There is still work being done, but the basics are in place. Check out the locale demo in the codex module for a sample of the new date time support.

from xoopscore25.

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.