Use PST instead of America/Los_Angeles
use PST instead of America/Los_Angeles
This commit is contained in:
commit
53ae13b180
@ -21,7 +21,7 @@ use Symfony\Component\Validator\Constraint;
|
||||
*/
|
||||
class Timezone extends Constraint
|
||||
{
|
||||
public $timezone = 'America/Los_Angeles';
|
||||
public $timezone = 'PST';
|
||||
public $message = 'Invalid timezone provided. Got {{ provided }}, should be {{ expected }}.';
|
||||
|
||||
/**
|
||||
|
@ -28,7 +28,7 @@ class OrderQuery
|
||||
*
|
||||
* @JMS\Type("DateTime<'Y-m-d H:i:s'>")
|
||||
* @JMS\SerializedName("create_date_end")
|
||||
* @TopAssert\Timezone("America/Los_Angeles")
|
||||
* @TopAssert\Timezone("PST")
|
||||
*/
|
||||
public $createDateEnd;
|
||||
|
||||
@ -37,7 +37,7 @@ class OrderQuery
|
||||
*
|
||||
* @JMS\Type("DateTime<'Y-m-d H:i:s'>")
|
||||
* @JMS\SerializedName("create_date_start")
|
||||
* @TopAssert\Timezone("America/Los_Angeles")
|
||||
* @TopAssert\Timezone("PST")
|
||||
*/
|
||||
public $createDateStart;
|
||||
|
||||
@ -46,7 +46,7 @@ class OrderQuery
|
||||
*
|
||||
* @JMS\Type("DateTime<'Y-m-d H:i:s'>")
|
||||
* @JMS\SerializedName("modified_date_start")
|
||||
* @TopAssert\Timezone("America/Los_Angeles")
|
||||
* @TopAssert\Timezone("PST")
|
||||
*/
|
||||
public $modifiedDateStart;
|
||||
|
||||
@ -82,7 +82,7 @@ class OrderQuery
|
||||
*
|
||||
* @JMS\Type("DateTime<'Y-m-d H:i:s'>")
|
||||
* @JMS\SerializedName("modified_date_end")
|
||||
* @TopAssert\Timezone("America/Los_Angeles")
|
||||
* @TopAssert\Timezone("PST")
|
||||
*/
|
||||
public $modifiedDateEnd;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user