I got a call from a client about an issue with xMap component on Joomla 3.3.6. The client wanted to create a menu item for each sitemap, but he was not able to select the desired sitemap from the modal window.
Setting error_reporting on, the modal displays this error message:
Fatal error: Call to undefined method JDate::toFormat() in /home/myaccount/public_html/administrator/components/com_xmap/views/sitemaps/tmpl/modal.php on line 110
How to fix this?