Title: date problems
Last modified: August 22, 2016

---

# date problems

 *  [erkelenscd](https://wordpress.org/support/users/erkelenscd/)
 * (@erkelenscd)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/date-problems-2/)
 * When editing events depending on the language version running on your computer(
   windows/javascript, don’t know exactly), an error appears editing an event. When
   editing the event and just ‘update’ it again, a date handling error appears setting
   the event_date back to current date in the edit-event screen and back to unix
   time stamp in the list of events 01-01-1970.
    This only happens when abbreviatons
   of months in Dutch differ from those in English. (for example OCT is OKT in Dutch,
   while with JAN there is no problem) We made the following adjustments to the 
   code and now it works fine.
 * in quick_event_editor.php
    old line 49: $date = date_i18n(“d M Y”, $date); new
   line 49: $date = date_i18n(“d-m-Y”, $date);
 * old line 59:
    <script type=”text/javascript”>jQuery(document).ready(function(){
   jQuery(\’#qemdate\’).datepicker({dateFormat : \’dd M yy\’});});</script>
 * new line 59:
    <script type=”text/javascript”>jQuery(document).ready(function(){
   jQuery(\’#qemdate\’).datepicker({dateFormat : \’dd-m-yy\’});});</script>
 * old line 64:
    <script type=”text/javascript”>jQuery(document).ready(function(){
   jQuery(\’#qemenddate\’).datepicker({dateFormat : \’dd M yy\’});});</script>
 * new line 64:
    <script type=”text/javascript”>jQuery(document).ready(function(){
   jQuery(\’#qemenddate\’).datepicker({dateFormat : \’dd-m-yy\’});});</script>
 * Can you adjust this in the next update?
    Thanks in advance. We really find this
   a usefull plugin. Christian Erkelens
 * [https://wordpress.org/plugins/quick-event-manager/](https://wordpress.org/plugins/quick-event-manager/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Graham](https://wordpress.org/support/users/aerin/)
 * (@aerin)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/date-problems-2/#post-5363116)
 * Thanks for that.
 * While the fix does work it will cause all sorts of problems for the USA where
   they write numerical dates as MM-DD-YY. This is why I used the three letter month
   acronym so there was no confusion.
 * I’m releasing an update later today with all sorts of updates and bug fixes. 
   I’m then going to experiment with a localization options that does this:
 * [http://jquery-ui.googlecode.com/svn/tags/1.8.23/demos/datepicker/localization.html](http://jquery-ui.googlecode.com/svn/tags/1.8.23/demos/datepicker/localization.html)
 * If all goes well I will have this ready for release in a week or so.
 *  [Graham](https://wordpress.org/support/users/aerin/)
 * (@aerin)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/date-problems-2/#post-5363168)
 * After extensive testing and lots of head scratching it turns out you can’t localise
   the date picker and save the date. The PHP function that converts a date into
   a unix string will only accept English dates.
 * Localizing the datepicker just returns an error when you save the event.
 * Dates will display in the local language on your website.
 * So not sure what to do next…

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘date problems’ is closed to new replies.

 * ![](https://ps.w.org/quick-event-manager/assets/icon-256x256.png?rev=3318950)
 * [Quick Event Manager](https://wordpress.org/plugins/quick-event-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/quick-event-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/quick-event-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/quick-event-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/quick-event-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/quick-event-manager/reviews/)

## Tags

 * [event date](https://wordpress.org/support/topic-tag/event-date/)

 * 2 replies
 * 2 participants
 * Last reply from: [Graham](https://wordpress.org/support/users/aerin/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/date-problems-2/#post-5363168)
 * Status: not resolved