General

Profile

bhaak (Patric Mueller)

  • Login: bhaak
  • Email: bhaak@gmx.net
  • Registered on: 12/11/2014
  • Last sign in: 02/24/2015

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 1 1

Activity

12/11/2014

09:50 AM Ruby Bug #10587 (Third Party's Issue): Time#to_json != DateTime#to_json (Time#to_json not outputting iso8601)
The output of this program is false:
```
require 'date'
require 'json'
now = Time.now
puts now.to_json == DateTime.parse(now.to_s).to_json
```
Testing in IRB shows why:
```
2.1.5 :004 > now.to_json
=> "\"2014-12-11 10:34:53 ...
bhaak (Patric Mueller)

Also available in: Atom