Issue #16768 has been reported by dmikurube (Dai MIKURUBE).

----------------------------------------
Bug #16768: "\n" started not to work as a delimiter in time zone names for Date._strptime since 2.7.0
https://bugs.ruby-lang.org/issues/16768

* Author: dmikurube (Dai MIKURUBE)
* Status: Open
* Priority: Normal
* ruby -v: 2.7.0
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN
----------------------------------------
Confirmed on: Ruby 2.7.0 on Mac OS X 10.13.

```
require 'date'
DateTime._strptime("aus\neastern standard time", "%z")
```

Expected (Ruby 2.6.3 works like this):

```
=> {:zone=>"aus\neastern standard time", :offset=>36000}
```

Actual on Ruby 2.7.0 :

```
=> {:zone=>"aus\neastern standard time", :offset=>nil}
```

Appendix:

* A space character case, such as `"aus eastern standard time"`, still works on Ruby 2.7.0.




-- 
https://bugs.ruby-lang.org/