weDevsOfficial / wp-user-frontend

A WordPress plugin that brings many backend functionality to the site frontend
https://wordpress.org/plugins/wp-user-frontend/
225 stars 147 forks source link

Post form 'set this as publish time input' option not working #1453

Open 006rodaal opened 3 months ago

006rodaal commented 3 months ago

Hi,

When I create a post form with a date picker with the option 'set this as publish time input' enabled it's publishing the post on the date 1970/01/01 instead of the selected date in the date picker. I think this is bugged somehow. Can you provide a fix? Thanks!

image

anik-fahmid commented 2 months ago

@006rodaal can you tell me why aren't you using the default date format which generates the dates correctly?

anik-fahmid commented 2 months ago

@Rat01047 vai please check on your local setup.