Format Date shortcode outputs current date if empty

August 07, 2018 20:03:21
andy1
Topics: 6
Messages: 18
I have a date field that I'm formatting using the format date shortcode (https://e2pdf.com/support/docs#shortcode-e2pdf-format-date). If the date field is empty, I want the field to be empty. Instead, the shortcode is causing the current date to be displayed.

Here is my exact shortcode: [e2pdf-format-date format='m-d-Y'][825][/e2pdf-format-date]

Is there a way for me to make it display nothing when the field is empty?
August 07, 2018 20:30:03
E2Pdf
Topics: 7
Messages: 3614
Support
Hi.

You are correct that by default empty value must not be formatted to 'today' date.

We've just released an update (0.01.62) with fix. Let us know if now it's working like expected.

We remain at your service.

We would really appreciate your feedback at WordPress.org!
August 07, 2018 21:01:51
andy1
Topics: 6
Messages: 18
Thanks you for the update, it works like expected now!
Get News and Updates
Our monthly newsletter keeps you in the loop, so you'll always be up to date with the latest news and updates about E2Pdf.
* You can update your email subscription preferences here.
All trademarks, service marks, trade names, product names, and logos appearing on this website are the property of their respective owners. The use of trademarks such as Formidable Forms®, Forminator Forms®, Gravity Forms®, JetFormBuilder®, WordPress®, WooCommerce®, WPForms® and others is solely for identification purposes (nominative use) and does not imply any affiliation, sponsorship, or endorsement by the respective trademark holders.
© 2017 - 2026, https://e2pdf.com

We use cookies to collect and analyse information on site performance and usage, to provide social media features and to enhance and customise content and advertisements. By clicking "Accept Selected", you consent to use of selected cookies according to our Cookie Policy.