Support » Plugin: Hansel & Gretel: Fine-Tuned Breadcrumb Generator » Bug in get_date_archive_crumbs(…)

  • I found a bug in the function get_date_archive_crumbs(…), file HAG_Crumb.php. The problem is in the line 400:

    ...
    $date = new DateTime(get_the_date());
    ...

    this seems just to work with the english date-time format but not with the german as I use it. F.e. “14. Februar 2013”. I solved it by change it as the following:

    ...
    $date = new DateTime(get_the_date('Y-m-d'));
    ...

    maybe you want to add this fix for your next update.

    http://wordpress.org/extend/plugins/hansel-gretel/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Chris

    (@rodaine)

    Hello,

    Thanks for the tip! I will definitely incorporate this into the next release. If you notice any other issues like this, please let me know!

    – Chris

    Hey,
    I have the same problem with the “german date and time format” (j. F Y) in Date & Time archives. 🙁 Was it already a part of an previous update?

    Thanks for this great Plugin! 😉

    Thomas

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Bug in get_date_archive_crumbs(…)’ is closed to new replies.