Change date format

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Tagged: 

Viewing 9 reply threads
  • Author
    Posts
    • #105901
      Maria Axelsson
      Participant

      Hi,

      I have created custom fields in WCFM Multivendor where the seller, or in my case renter, picks a date when a product is available.

      I now want to use a plugin called Search and filter pro, to search for products in my Multivendor website. This plugin requires the date format to look like this: 06022020 (or: 20200206). But in WCFM is looks like this: 2020-02-06. Is there a way to change this?

    • #106077
      Maria Axelsson
      Participant

      Any one knows if this is possible?

    • #106427
      WCFM Forum
      Member

      Well, WCFM shows and save dates in format of site’s default date format – wp-admin -> Setting -> gneral

      Now, if you want to save dates in custom format hence it will require custom coding.

      Kindly show me your custom field setting screenshot.

      Thank you

    • #107135
      Maria Axelsson
      Participant

      Well, no it don’t seem so. I have changed the format in Settings, but when I pick a date in WCFM it automatically turns to YYYY-MM-DD with the “-“.

      Thanks.

      Attachments:
      You must be logged in to view attached files.
    • #107791
      WCFM Forum
      Member

      Hi,

      when I pick a date in WCFM it automatically turns to YYYY-MM-DD

      – Where? Show me screenshot please.

      Thank You

    • #107848
      Maria Axelsson
      Participant

      I created custom fields and choose date picker. When the vendor then is adding a product and choosing a date (from a calendar that pops up) it automatically gets the format YYYY-MM-DD

      Attachments:
      You must be logged in to view attached files.
    • #108649
      WCFM Forum
      Member
    • #108680
      Maria Axelsson
      Participant

      Hm, okay. But that is the format that my search plugin uses. Is there a way to use this date format in WordPress/WCFM?

    • #109833
      WCFM Forum
      Member

      Well, I think it will be best to contact your search plugin support and ask them to support WP standard date formats.

    • #110073
      Maria Axelsson
      Participant

      I did that first, but they told me to contact you instead haha. But okay, thank you for your help.

Viewing 9 reply threads
  • You must be logged in to reply to this topic.