Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
arif98741 committed Nov 11, 2020
2 parents 35eb8f3 + 62071a4 commit b0fe94e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Base.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ class Base
*/
public $merchantCallback;


/**
* Base constructor
* @param array $params
Expand Down Expand Up @@ -104,10 +103,11 @@ public function getTimezone()
public function setTimeZone($timeZone)
{
if (!empty($timeZone)) {
date_default_timezone_set($timeZone);
$this->timezone = $timeZone;
} else {
date_default_timezone_set('Asia/Dhaka');
$this->timezone = 'Asia/Dhaka';
}

}

/**
Expand Down

0 comments on commit b0fe94e

Please sign in to comment.