• Resolved Odyno

    (@odyno)


    Hi,
    I’m working with your beautiful plugin on my site, but I saw some strange behavior when I set or update the date of announcement.
    I think the problem is the format, I’m italian and I use the format Day/Mounth/Year (ex 20/06/2010 for me is 20th June 2010 ) but when I see the admin timeline data is wrong. In some case this date is not recognized and the announcement have the current date-time
    The UI recognize my local time ( the jquery datepicker work fine ) also same for “Fast Edit” but on backend I think you have some problem.

    bye

    My browser dump:

    {'Accept-Language': 'en-US,en;q=0.8,it;q=0.6',
    'Accept':'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8',
    'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.122 Safari/537.36',
    'Host': 'ajaxhttpheaders2.appspot.com',
    'X-Appengine-Region': 'pi',
    'X-Appengine-City': 'pisa',
    'X-Appengine-Citylatlong': '43.722839,10.401689',
    'Content-Type': '; charset="utf-8"',
    'X-Appengine-Country': 'IT'}

    https://www.ads-software.com/plugins/timeline-express/

Viewing 5 replies - 16 through 20 (of 20 total)
  • Thread Starter Odyno

    (@odyno)

    Exactly…. when I open the datepicker it works as “french” config (DMY) but (I think) the backend wants MDY, and ( I think ) for this reason I have problems.

    PS: I have reviewed the config of my wordpress… unique difference from vanilla config is the define ('WPLANG', 'it_IT'); on wp-config.php

    PSS: no rush, I know the I18n problem is hard nut to crack

    @evan: Very good idea! Please take care not to use the default functionality, the option “Display month & year menus” sounds good.

    @evan: Thanks for providing the datepicker in version 1.1.5.5! As mentioned above, I would prefer to show not only the month in the header of the datepicker, but the year too, because scrolling through dozens of months isn’t very convenient. How can I enable it? I’m not very familiar with CSS. It seems to be something like this:

    .datepicker {
    changeMonth: true;
    changeYear: true;
    }

    Plugin Author Evan Herman

    (@eherman24)

    Hi Eckhard,

    The date picker was included with the plugin from the initial release. I didn’t make any adjustments to that in the latest release. It’s going to take a little bit of time until I can find a solution for localizing the date.

    Evan

    Understood. I see, datepicker is part of “jQuery UI”.
    The theme is not localizing the date, but configuring the date picker (adding a year selector in the head of datepicker).
    Up to now I haven’t understood: Can I configure the datepicker or is it only possible for you?

Viewing 5 replies - 16 through 20 (of 20 total)
  • The topic ‘Strange behavior with the date’ is closed to new replies.