Automattic\WooCommerce\EmailEditor\Validator\Schema
String_Schema::formatDateTime
Set the format of the string according to DateTime.
Method of the class: String_Schema{}
No Hooks.
Returns
null. Nothing (null).
Usage
$String_Schema = new String_Schema(); $String_Schema->formatDateTime(): self;
String_Schema::formatDateTime() String Schema::formatDateTime code WC 10.8.1
public function formatDateTime(): self {
return $this->update_schema_property( 'format', 'date-time' );
}