Change default date format in Oracle

Comparing #7 with #8

Revision #8 was created by lenovo lenovo on Sep 17, 2019, 10:30:42 AM.

code formatting

Content

[...]
ALTER SESSION SET NLS_DATE_FORMAT=...
```

Add this script inside your database connection file
```
......
 
// Schema cache options (for production environment)
//'enableSchemaCache' => true,
//'schemaCacheDuration' => 60,
[...]
$event->sender->createCommand("ALTER SESSION SET NLS_DATE_FORMAT='DD-MM-YYYY hh24:mi:ss'")->execute();
}
...
 
```