Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author YeKen

    (@aliakro)

    Thank you!

    I’ve just done a quick release top address that – tested in Firefox anyway!

    Let me know how you get on – and please rate! ??

    Thread Starter whiterabbitz

    (@whiterabbitz)

    Hi,

    Thanks for the quick response.

    Loaded fresh 4.1.1 WordPress

    Added 1.7 plugin.

    Edited globals for non imperial

    added shortcut to page

    Chrome – nice popup but enters date as 0000-00-00

    Mozilla – Same…

    Safari – Same..

    Also then switched to imperial .. same.

    Also – in graph all dates show 19-Feb

    Thanks in advance

    Brian

    Plugin Author YeKen

    (@aliakro)

    Strange. I don’t see that (tested quickly in Chrome).

    Able to send me a link to the page you’re viewing?

    Thread Starter whiterabbitz

    (@whiterabbitz)

    Hi,

    Running on localhost –

    just a fresh install of WP – default theme.

    Will have a look later at putting it on a vps.

    FYI Line 457 in shortcodes.php

    var_dump($values); // exit;
    $wpdb->insert(
    $table_name,
    $values

    Values is good and the date is correct but date is stored as “0000-00-00 00:00:00”

    wpdb->insert
    defaults to string with out the format array.. Will investigate later today.

    Thread Starter whiterabbitz

    (@whiterabbitz)

    Hi Again,

    I have set up a vps.

    Installed wp latest from wordpress dot org
    changed permalinks to pages
    downloaded 1.7
    edited globals to imperial false
    acivated 1.7
    added page weight – only content [weightlosstracker]

    same results

    wp-debug on – no errors

    the code in shortcodes.php
    $wpdb->insert(
    $table_name,
    $values

    Var dumped $values – looks ok

    things I noticed:

    the date on refresh in add data is in format 2015-02-19

    if i don’t touch it (ie no focus) and just enter weight and note – all OK

    if i use the date picker it changes format to 02/19/2015 on entering weight and notes – get date in list as 0000-00-00

    Ok So I mucked around a bit…

    in shortcodes.php after 154 added dateFormat: \”yy-mm-dd\”

    It works!

    leads to question

    Probably taking local date format here we use dd/mm/yy and vps set up for Oz

    Above testing on chrome

    Tested Mozilla OK

    Safari 5.1.7 (Latest for windows) no go..

    You see the calender and can select date – it then displays “Please enter the date” you can continue and add weight and notes but on submit it opens the calender again.. AARRGGHH never liked Apple.

    If you would like the url is there a way of me PMing you? Would prefer it not public..

    Brian

    Plugin Author YeKen

    (@aliakro)

    Thanks for that. I’ve rolled back the 1.7 release!

    Drop me an email:

    [email protected]

    Plugin Author YeKen

    (@aliakro)

    1.8 release should solve this. Thanks for all your help.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Date Picker not working on all browsers’ is closed to new replies.