Support » Plugin: Bucket List » Is there a way to change the date format?

  • Resolved Josiology

    (@josiology)


    Hi there!

    Is there a way to change the date format to reflect Year-Month-Day (2015-01-09)?

    Please let me know if there is something in the code I can edit myself to achieve this result. I would really appreciate it!

    P.S. I absolutely love this plugin, great work!

    https://wordpress.org/plugins/bucket-list/

Viewing 8 replies - 1 through 8 (of 8 total)
  • I have the same question…is there any way to change the date format?

    Currently, in the plugin, it is only displayed as Day-Month-Year

    Can I change it to reflect Month-Day-Year?

    For example, I cannot manually change December 31, 2014 to 12-31-2014 because it doesn’t recognize “31” as a valid month.

    Thanks so much!

    also…would there also be any way to not display the date of achievement on the linked page? (there is that option for the widget)

    Plugin Author Nicolas

    (@ncros)

    Hello Josiology and Dwen619,

    Sorry for the answer’s delay and thanks for using our plugin !

    Actually, you can’t change the date format without modifying the code.
    For the shortcode, you can modify the date format within the files “bucketlist_shortcodes.php” on line 68 i think.

    But, i’ll make an update this weekend, and i’ll add the date format to the shortcodes options.
    With this option you’ll be able to give throught shortcodes definition the date format which you want, that can be OK for you two ?

    For Dwen619, no actually you can’t do that too, but i’ll add this option to the shortcode too!

    I’ll try to post the update this week-end !

    Best regards,
    Nicolas

    thanks so much – that would be so helpful!

    Plugin Author Nicolas

    (@ncros)

    Hello Josiology, Hello Dwen !

    I’ve made the update for the plugin.
    You can now control the date format onto the shortcode and widget.

    To know the value and the correct format you need to enter, you can refer to the PHP documentation here : http://php.net/manual/en/function.date.php

    Date format example (shortcode):

    • Josiology: [bucketlist dateformat=”Y-m-d”]
    • Dwen: [bucketlist dateformat=”m-d-Y”]

    You can hide the date with the option “displaydate”, example : [bucketlist displaydate=”0″]

    I hope that update resolve your both issues, let me know if everything is OK !

    Best Regards,
    Nicolas

    dwen619

    (@dwen619)

    works! thanks so much, this is an awesome plugin!

    Josiology

    (@josiology)

    Wow, thank you SO much for the quick reply and turnaround! This worked like a charm and is now the perfect add on for my goals!!!

    Cheers!

    Plugin Author Nicolas

    (@ncros)

    Hello!

    Glad to hear it’s good for you both.
    And really thank you to use and enjoy our plugin 🙂 !

    Nicolas

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Is there a way to change the date format?’ is closed to new replies.