fix timezone
This commit is contained in:
1 parent
36ec55c85d
commit
b33aa157ec
3 files changed
+6
-9
No files matched your search
@@ -48,7 +48,7 @@ trait Formatting
|
||||
$timestamp = $this->getTimestamp();
|
||||
|
||||
|
||||
list( $gYear, $gMonth, $gDay, $gWeek ) = explode( '-', parent::format( 'Y-m-d-w' ) );
|
||||
list( $gYear, $gMonth, $gDay, $gWeek ) = explode( '-', date('Y-m-d-w', $timestamp) );
|
||||
list( $pYear, $pMonth, $pDay ) = static::getJalali( $gYear, $gMonth, $gDay );
|
||||
$pWeek = ( $gWeek + 1 );
|
||||
|
||||
|
||||
Reference in new issue
Block a user