Forum Replies Created
-
AuthorPosts
-
chillifish
ParticipantHi, yes, the save_format is 'Y-m-d', but the date is being saved as d/m/y. This is causing an issue with
strtotimeon the front end.chillifish
ParticipantCan anyone help me with the Date Format issue? It's causing me real problems and I need to make the site live.
chillifish
ParticipantSettings below:
array( 'name' => esc_html__( 'To date', 'textdomain' ), 'id' => $prefix . 'to_date', 'desc' => esc_html__( 'End of date range', 'textdomain' ), 'type' => 'date', // Date picker options. See here http://api.jqueryui.com/datepicker 'js_options' => array( 'dateFormat' => 'dd/mm/yy', 'changeMonth' => true, 'changeYear' => true, ), 'save_format' => 'yy-mm-dd', ),chillifish
ParticipantAlso, it seems to be unrelated as it still happens with the formidable plugin deactivated, but the 'save_format' setting is being ignored. This is causing issues with date interpretations.
chillifish
ParticipantThinking about it, there's a datepicker form on that page, which is loading the preview text for the datepicker, so I guess that's where it's picking up the styling from.
chillifish
ParticipantYou're right, I should have checked plugins. It's clashing with the Formidable Forms plugin. When I disable that the colour of the datepicker changes and the whole thing looks smarter.
chillifish
ParticipantApologies, it seems the template file names have been changed, so problem solved. Can't see how to delete the post.
chillifish
ParticipantGreat, that's done the trick. Thanks.
chillifish
ParticipantSorry, I've used the wrong ID! Can't seem to delete this post…
chillifish
ParticipantThat's worked, thanks. It would be better if it were empty, so look forward to the fix!
chillifish
ParticipantBrilliant, that's done it, many thanks! One more question while I'm here… I have chosen timestamp and it's pre-filled Jan 1st 1970, is there a way to default to today's date?
chillifish
ParticipantNo, that was my first thought. The only error was related to a server error in delivering the favicon, but having fixed that, the only message in the console is:
JQMIGRATE: Migrate is installed, version 1.4.0chillifish
ParticipantIgnore the above, seems to be working now.
chillifish
ParticipantThanks. I've just installed the metabox updater and it's not showing me there's any updates? Also, when I entered my license, it said it was invalid. I entered it again and it seems to have accepted it, but I'm not getting any updates.
chillifish
ParticipantWill do, thanks.
-
AuthorPosts