Title: error date?
Last modified: August 21, 2016

---

# error date?

 *  Resolved [Ramzii](https://wordpress.org/support/users/ramzii/)
 * (@ramzii)
 * [13 years ago](https://wordpress.org/support/topic/error-date/)
 * I keep getting:
 *     ```
       Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct() [<a href='datetime.--construct'>datetime.--construct</a>]: Failed to parse time string (22/04/2013) at position 0 (2): Unexpected character' in /home/kern/domains/DOMAIN.nl/public_html/wp-content/plugins/hms-testimonials/admin.php:984 Stack trace: #0 /home/kern/domains/DOMAIN.nl/public_html/wp-content/plugins/hms-testimonials/admin.php(984): DateTime->__construct('22/04/2013') #1 [internal function]: HMS_Testimonials->testimonial_new_page('') #2 /home/kern/domains/DOMAIN.nl/public_html/wp-includes/plugin.php(406): call_user_func_array(Array, Array) #3 /home/kern/domains/DOMAIN.nl/public_html/wp-admin/admin.php(151): do_action('testimonials_pa...') #4 {main} thrown in /home/kern/domains/DOMAIN.nl/public_html/wp-content/plugins/hms-testimonials/admin.php on line 984
       ```
   
 * Any idea?
 * EDIT: It seems that I cant add a testimonial that has a date from the past (yesterday,
   or any day before today)
 * Can this be fixed?
 * [http://wordpress.org/extend/plugins/hms-testimonials/](http://wordpress.org/extend/plugins/hms-testimonials/)

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

 *  Plugin Author [Jeff K](https://wordpress.org/support/users/kreitje/)
 * (@kreitje)
 * [13 years ago](https://wordpress.org/support/topic/error-date/#post-3714454)
 * Hi Ramzii,
 * Can you provide me the exact date that you are using?
 *  Thread Starter [Ramzii](https://wordpress.org/support/users/ramzii/)
 * (@ramzii)
 * [13 years ago](https://wordpress.org/support/topic/error-date/#post-3714467)
 * Thanks for the quick response.
 * 22/04/2013 didnt work
 * 04/05/2013 did work
 * 04 mei 2013 didnt work
 * A little feedback; I would find it more user- and styling friendly to allow the
   user to choose which date styling he puts in. Months fully written should be 
   possible, or other separators. Slashes are kind of ’90s. There are designs where
   the mandatory / / / just dont fit in.
 *  Plugin Author [Jeff K](https://wordpress.org/support/users/kreitje/)
 * (@kreitje)
 * [13 years ago](https://wordpress.org/support/topic/error-date/#post-3714470)
 * Hi Ramzii,
 * At this time I am currently using DateTime which wants the month first. I will
   be adding in the jquery ui datepicker in the update.
 * You can use hyphens if you don’t want to use slashes. 🙂
 * That being said, the admin screens are required to use that format however you
   CAN set the format that is displayed to your users. Checkout the settings tab
   for the plugin.
 * “5. Date format”
 * You can use d/m/Y for 22/04/2013 or d M Y for 22 May 2013.
 *  Thread Starter [Ramzii](https://wordpress.org/support/users/ramzii/)
 * (@ramzii)
 * [13 years ago](https://wordpress.org/support/topic/error-date/#post-3714471)
 * Inserts megusta face.
 * Thanks! Looking forward to the update.
    Im currently still setting up my site
   with your plugin, when its ready and online you can expect a coffee sir.
 *  Plugin Author [Jeff K](https://wordpress.org/support/users/kreitje/)
 * (@kreitje)
 * [13 years ago](https://wordpress.org/support/topic/error-date/#post-3714474)
 * I have just pushed an update. It may take a little while for WordPress installs
   to pick it up.
 * The datepicker is now in. I have also caught the fatal error so you will get 
   a friendly message asking you to pick a valid format instead.
 * Jeff

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

The topic ‘error date?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/hms-testimonials.svg)
 * [HMS Testimonials](https://wordpress.org/plugins/hms-testimonials/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/hms-testimonials/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/hms-testimonials/)
 * [Active Topics](https://wordpress.org/support/plugin/hms-testimonials/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/hms-testimonials/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/hms-testimonials/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Jeff K](https://wordpress.org/support/users/kreitje/)
 * Last activity: [13 years ago](https://wordpress.org/support/topic/error-date/#post-3714474)
 * Status: resolved