• Resolved Curtis

    (@salsafire)


    Hello. Thank you for your plugin development.

    Two questions:
    Is it possible to add the ability to sort in reverse order?

    I am using the plugin to create event blocks and they collapse down to mobile better than any plugin I’ve explored. I just need to display in reverse order and don’t see an option.

    The sidebar asks for the date and time, but only the date is displayed. Reviewing the PHP it appears you have it set to also show the time. I just cannot understand how to trigger it. Is it possible to display the time, as well?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Taras Dashkevych

    (@taskotr)

    Hi,

    “Is it possible to add the ability to sort in reverse order?”
    – At the moment, it’s not possible but this option will be included in upcoming plugin release.

    “The sidebar asks for the date and time, but only the date is displayed.”
    – Very good point. I’ve added it to our to-do list for upcoming release. Thank you for bringing it to my attention.

    I’ll keep you posted regarding these features in this post.

    Kind regards,
    Taras

    Plugin Author Taras Dashkevych

    (@taskotr)

    Hello,

    I just want to let you know that a new version of the plugin has been released: 1.1.0.

    This version includes an option to sort either from newest to oldest, or from oldest to newest, and the options is available in the Sortable block.

    Also, the Sortable Date block comes with an option to customize the date format.

    Thank you,
    Taras

    Thread Starter Curtis

    (@salsafire)

    Yes, Thank you. That’s wonderful.

    I am seeing my times showing (-8) hours, and located this…

    <time datetime=”2022-12-31T10:00:00-08:00″>Dec 31, 2022 10:00 AM</time>

    I am not sure why there is now an 8-hour time change on any entry. I am 8 hours off GMT, and my WP time zone is correctly set for Los Angeles.

    I have been reviewing the code to simply learn more and see what I can spot.

    Is this the correction needed, n.date_I18n, instead of n.dateI18n?

    Thanks for looking into this.

    • This reply was modified 1 year, 10 months ago by Curtis.
    • This reply was modified 1 year, 10 months ago by Curtis.
    • This reply was modified 1 year, 10 months ago by Curtis.
    Thread Starter Curtis

    (@salsafire)

    I see that’s the date function, and originally thought the underscore missing was the issue, Sry. Still, my times are off by 8 hours, my GMT offset. Any help would be appreciated.

    Plugin Author Taras Dashkevych

    (@taskotr)

    Hello,

    Hm… I suspect the issue is related to wp_date() function but I need additional time to investigate it. Thank you for reporting the issue.

    I’ll let you know when I have any updates on this matter.

    Kind regards,
    Taras

    Plugin Author Taras Dashkevych

    (@taskotr)

    Hi,

    A new version (1.1.1) of the plugin has been just released, with possible fixes for the time output issue.

    Could you please update the plugin to version 1.1.1 and and check if this version solves the issue on your website?

    Thank you,

    Taras

    Thread Starter Curtis

    (@salsafire)

    It works perfectly. I tested the customs settings and was able to produce intended results. Bravo!

    Thank you for your plugin development.

    I am envisioning other uses for this plugin.

    Curtis

    Plugin Author Taras Dashkevych

    (@taskotr)

    Hi Curtis,

    Thank you for testing the update. I would love to hear more about how you are envisioning other uses for the plugin. Thank you again for using Sortable Block.

    Kind regards,
    Taras

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Sort Order, Time Display?’ is closed to new replies.