We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9bebc7d commit 1f7bcfbCopy full SHA for 1f7bcfb
lib/Connection.php
@@ -92,6 +92,10 @@ public static function instance($connection_string_or_connection_name=null)
92
{
93
$config = Config::instance();
94
95
+ if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {
96
+ self::$datetime_format = 'Y-m-d H:i:s';
97
+ }
98
+
99
if (strpos($connection_string_or_connection_name, '://') === false)
100
101
$connection_string = $connection_string_or_connection_name ?
0 commit comments