我想要一个输入,您可以在其中以 EU 格式输入时间,例如 12:00 或 21:34。(hh:mm) 我该怎么做?
Schema::create('posts', function (Blueprint $table) {
$table->increments('id');
$table->string('title');
$table->string('arena');
$table->date("h,i"('beginn'));
$table->timestamps();
});
Run Code Online (Sandbox Code Playgroud)
这是我所拥有的,但显然是错误的。