title: Oracle NLS_TERRITORY overrides NLS_DATE_FORMAT
body: <p>When in PHP application I specify </p>
  
  <pre><code>ALTER SESSION SET NLS_DATE_FORMAT = 'YYYY-MM-DD HH24:MI:SS';
  ALTER SESSION SET NLS_DATE_LANGUAGE = 'RUSSIAN';
  </code></pre>
  
  <p>the output data format is as expected 2020-01-31 21:21:47
  But when I add </p>
  
  <pre><code>ALTER SESSION SET NLS_TERRITORY = 'CIS';
  </code></pre>
  
  <p>NLS_DATE_FORMAT doesn't take effect, NLS_TERRITORY overrides it.
  31.01.20</p>