+ Reply to Thread
Results 1 to 4 of 4

Thread: Wrong year being added when using calendar listing field.

  1. #1
    Junior Member
    Join Date
    Mar 2016
    Posts
    3

    Wrong year being added when using calendar listing field.

    I have 2 listing fields on my pet classifieds website. 1 for born date and the other for available delivery date. When selecting from each field the the year reads 2016. However, when displayed in a listing the year reads 1999. Can you advise on how this can be resolved please?

    error-date.jpg

    Thanks

  2. #2
    Hello Jolene Gray,

    You should remove condition in 1 file. go to ftp://includes>>classes>>rlCommon.class.php
    find method: adaptValue

    and remove condition:
    PHP Code:
    Only registered members can view the code
    then a bit below find code:

    PHP Code:
    Only registered members can view the code
    replace to:
    PHP Code:
    Only registered members can view the code
    then find:
    PHP Code:
    Only registered members can view the code
    and replace to:
    PHP Code:
    Only registered members can view the code
    save and try to add/edit listing again.
    Viktor,
    Flynax technical department,
    Best wishes.

  3. #3
    Junior Member
    Join Date
    Mar 2016
    Posts
    3
    I have gone through the rlCommon.class.php file and there is no sign of the following if statement: if ($t_timestamp > 943920000).
    The file appears to already be configured with the changes you are advising me to make. I have attached for your review. Please let me know if there are any other suggestions that may resolve.

    Thanks
    Attached Files Attached Files

  4. #4
    Junior Member
    Join Date
    Mar 2016
    Posts
    3
    Any other suggestions/solutions for this date error I am receiving when using the calendar listing field?

+ Reply to Thread