1
0
mirror of synced 2024-11-27 23:36:02 +03:00

Use PST instead of America/Los_Angeles

use PST instead of America/Los_Angeles
This commit is contained in:
Alex Lushpai 2020-12-29 12:37:39 +03:00 committed by GitHub
commit 53ae13b180
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -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 }}.';
/**

View File

@ -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;