fixbug timezone and add facades
This commit is contained in:
1 parent
1b72a5e0fe
commit
2acc6826ab
5 files changed
+22
-4
No files matched your search
@@ -254,7 +254,6 @@ class Verta extends DateTime {
|
||||
* @param bool $timezone [optional]
|
||||
*/
|
||||
public function __construct($datetime = null, $timezone = null) {
|
||||
date_default_timezone_set('Asia/Tehran');
|
||||
if ($datetime === null) {
|
||||
$instance = time();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user