MailPoet\EmailEditor\Validator\Schema

String_Schema::formatDateTime()publicWC 1.0

Set the format of the string according to DateTime.

Method of the class: String_Schema{}

No Hooks.

Return

null. Nothing (null).

Usage

$String_Schema = new String_Schema();
$String_Schema->formatDateTime(): self;

String_Schema::formatDateTime() code WC 9.8.2

public function formatDateTime(): self {
	return $this->update_schema_property( 'format', 'date-time' );
}