• Resolved leslierad

    (@leslierad)


    I was using qtranslate up until today when I switched to your plugin, most seems to work fine so far- thanks.

    The only issue I see so far is:
    <?php the_modified_date(‘[:en]jS F Y [:da]j F Y [:de]j. F Y [:es]j F Y [:no]j F Y [:pt]jS F Y [:sv]j F Y [:fr]jS F Y [:nl]j F Y [:it]j F Y ‘); ?>

    Used to show in Qtranslate correctly but doesn’t in mqtranslate.

    https://www.ads-software.com/plugins/mqtranslate/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author chsxf

    (@chsxf)

    Hi leslierad,

    We will investigate this issue as soon as possible.

    Plugin Author chsxf

    (@chsxf)

    I’m surprised it was working with qTranslate as we did not find anything relevant with quicktags for this function.

    However, we implemented the feature and it will be available in the next update of the plugin.

    Thread Starter leslierad

    (@leslierad)

    There is an error in correctly displaying the_modified_date it shows now the published date instead of the date the post was last modified.

    Thread Starter leslierad

    (@leslierad)

    I removed the filter from mqtranslate_hooks.php and the function now works correctly, apart from using another language for date text, but that may have been in my qtranslate .mo files don’t remember how I got it working before.

    add_filter(‘get_the_modified_date’, ‘qtrans_dateFromPostForCurrentLanguage’,0,2);

    Plugin Author chsxf

    (@chsxf)

    Ok, we fixed this issue. A permanent fix will be available in the next release.

    For now, you can replace

    add_filter('get_the_modified_date', 'qtrans_dateFromPostForCurrentLanguage',0,2);

    by

    add_filter('get_the_modified_date', 'qtrans_dateModifiedFromPostForCurrentLanguage',0,2);

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Date format – the_modified_date’ is closed to new replies.