Support

Search results for ""

Sorry, no results found. Perhaps you would like to search the community forum?
All Topics
laurens

Support for datetimepicker

Hello guys,

I just bought the Business package of your plugin and found out that the ACF Datetimepicker does not have the ability to be edited inline.
Is this because it is still not supported, since there is no pencil icon when I ? Or is this a bug that I am running into.
I found this issue on Github:
https://github.com/codepress/admin-columns-issues/issues/331

Best regards,
Laurens da Costa
Netvlies

1 year, 8 months ago
Stefan
Developer

Hi Laurens,

In our latest version of Admin Columns Pro we implemented date/time support for editing. Already some column in our core do support this, but the we did not yet release this change in the ACF add-on. You can grab the beta for the ACF add-on from this page if you like.

Beta

1 year, 8 months ago
laurens

Great, thanks!
Is it also possible to change timepicker to 24h format instead of 12?

Best regards,
Laurens da Costa

1 year, 8 months ago
Stefan
Developer

Not yet, but I’ve made a ticket for this on Github.
https://github.com/codepress/admin-columns-issues/issues/933

If I’m correct, ACF also does not offer this feature. But if it does, we’ll take this setting into account when developing this improvement. Thanks for your input, much appreciated!

1 year, 8 months ago
Stefan
Developer

I already made a change in our core.
ACF does not have an option to set the time format to 12 or 24 hours so you have to use a filter to change the settings:

acp/editing/view_settings

The snippet will be something like this:

/**
 * @param array $data
 * @param AC_Column $colummn
 *
 * @return mixed
 */
function acp_editing_set_time_form( $data, $colummn ) {

	// Check for specific columns if needed
	// Supported time formats: 12/24
	$data['timeformat'] = '24';

	return $data;
}

add_filter( 'acp/editing/view_settings', 'acp_editing_set_time_form', 10 );

The change will be available in our next maintenance release of Admin Columns Pro.

1 year, 8 months ago
License

Is the Time Picker supported in the new beta?

1 year, 7 months ago

You must be logged in to reply to this topic.