WordPress.org

Ready to get started?Download WordPress

Forums

Ajax Event Calendar
[resolved] Events appear with wrong date and time - time cannot be changed (24 posts)

  1. HoratioLint
    Member
    Posted 3 years ago #

    When I create events on the calendar, they appear on the day I create them, at the time I create them, regardless of what I actually put in the input boxes. I can drag them to other days but when I try to change the time, it ends up back at the current day and time again.

    http://wordpress.org/extend/plugins/ajax-event-calendar/

  2. Eran Miller
    Member
    Plugin Author

    Posted 3 years ago #

    What version of WP? What timezone is your blog set to?
    This must be a locale issue, but I am still unsuccessful in replicating this problem locally. Please provide as much information as possible.

  3. HoratioLint
    Member
    Posted 3 years ago #

    WP is 3.2.1, and my blog is set at US Central time (GMT -6), although it was accidentally set at GMT before. In both cases it created the event today (July 21) at what it thought was the local time. This happens whether I use the Month or the Week view to create the event. It puts the starting and ending time at the current time.

    It looks like I can drag things and change the time on the Weekly view. But as soon as I double-click the event and hit Update - even if I change nothing - it jumps back to the current date and time.

  4. Ryan Andrews
    Member
    Posted 3 years ago #

    Eran,

    I have the same issue. It creates the event at the current date / time rather than what you enter... I will see if i can find the problem...

    Ryan

  5. Ryan Andrews
    Member
    Posted 3 years ago #

    ^^^
    3.2.1 --- EDT

  6. molentech
    Member
    Posted 3 years ago #

    I'm the same, even though entered event for date of Dec 14th created event for July 21. Edited and changed date and pressed Update but stubbornly refused to move event to Dec 14th as originally intended. Time GM. David

  7. writerdave
    Member
    Posted 3 years ago #

    Ditto here. No matter what I do, a new event is saved under today and starting at the current time (the time I click 'save').

    Fully upgraded WordPress. I just upgraded to the new version of the plugin.

    (By the way, thanks for fixing the 'duration' display problem!)

  8. uninventiveheart
    Member
    Posted 3 years ago #

    Same issue here, using WP 3.1.4 and set to PDT (stuck using PHP 5.2.4 until my boss gives the okay to kill off a Joomla 1.0 installation that has old news on it.) All events are created today, even editing past events sets them to today. I also can't create events in the past although I have that option off in the Ajax Calendar options.

    I'm running WordPress on a intranet that is closed off of WAN: I'm going to revert to the prior version of the plugin for now.

  9. Ryan Andrews
    Member
    Posted 3 years ago #

    Problem might be with date_i18n in the date_convert function...

    Ryan

  10. Eran Miller
    Member
    Plugin Author

    Posted 3 years ago #

    Yes, that is what I am currently working on fixing.

  11. mikemsi
    Member
    Posted 3 years ago #

    Having the same problem here. CDT (-6:00) with latest WP install.

    New event is always placed on current date and time. Once the event is on the calendar, it can be dragged to another date. In "week" mode, event can be dragged to different times, but always displays original minute setting when event was created., ie, 3:05 instead of 3:00.

    This calendar looks great if this issue can be fixed. Thanks!

  12. Eran Miller
    Member
    Plugin Author

    Posted 3 years ago #

    I am nearly done with the fix and will post a notification when the development version link is ready for beta testing. Once I'm satisfied that no major bugs remain, I'll update the plugin via the usual channels.

    If you're interested in beta testing the plugin, stay tuned to the forum.

    Thanks,
    Eran

  13. writerdave
    Member
    Posted 3 years ago #

    Good deal.

  14. writerdave
    Member
    Posted 3 years ago #

    Oops. I just noticed that category colours are not showing.

    1. In the WordPress Dashboard / Calendar / Categories, all of my categories are there and they all have the appropriate colours displayed.

    2. Go the main Events calendar and all of the categories listed at the top are uncoloured.

    3. Look down at events being displayed in the calendar and they are all highlighted in dark blue.

    4. Look at the sidebar widget display and the events listed show no colour.

    You can look at http://www.peachlandnews.com/events to see what I mean. You can go to http://peachlandnews.com/blog/2011/07/21/man-74-dies-while-volunteering/ to see what the widget display looks like.

  15. Eran Miller
    Member
    Plugin Author

    Posted 3 years ago #

    If this happens, go to the manage categories page and press update on any of the existing categories. Return to the front-end calendar and refresh the page to reload the css file. Your category colors should return, if not, then please report your findings.

    Thanks,
    Eran

  16. writerdave
    Member
    Posted 3 years ago #

    Eran,

    Your fix worked. Updating the colours reset them and everything is peachy... colour wise.

  17. Eran Miller
    Member
    Plugin Author

    Posted 3 years ago #

  18. mikemsi
    Member
    Posted 3 years ago #

    The beta update looks to be working... Thanks!

    I do have a request. Currently it seem that there is no way to have an event time that isn't on the hour or half-hour. We have events that start at 1:15, for example. I don't think there should be more times on the menu, but maybe allow changing the time in the text box after selecting from the menu.

  19. Eran Miller
    Member
    Plugin Author

    Posted 3 years ago #

    I'd rather not introduce additional validation to the form fields. While it's not your preference, you can easily modify the time-step from 30 minutes to 15 minutes in the init_admin_calendar.js file:

    from
    step: 30,

    to
    step: 15,

    Eran

  20. mikemsi
    Member
    Posted 3 years ago #

    Eran,

    I changed from 30 to 15... that will work fine. Thanks!

  21. pja007
    Member
    Posted 2 years ago #

    Hi Eran,

    I have the same problem on colours described by writerdave last week.
    I followed your advice to update the categories again, but no luck. Although categories each have different colours they still all come up in blue. Could this be due to what the error_log is complaining about: a missing CSS file from the module installation (version 0.9.8.6).

    blockquote[Mon Aug 01 22:39:58 2011] [error] [client ...........] File does not exist: /var/www/html/blog/wp-content/plugins/ajax-event-calendar/css/cat_colors.css, referer: ..............blockquote

    The rest of it is fine & does the job perfectly. Great plugin.

  22. Eran Miller
    Member
    Plugin Author

    Posted 2 years ago #

    It's probably due to the way your host is setup, try this fix.

    Eran

  23. pja007
    Member
    Posted 2 years ago #

    Thanks, this did the trick.

  24. Eran Miller
    Member
    Plugin Author

    Posted 2 years ago #

    A new beta has been released for those interested in testing and confirming that it works see this post for details.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic