Actions
Bug #9742
closedError when trying to debug line with "startDate = Time.parse('2014-Apr-01 12:00:30')"
Bug #9742:
Error when trying to debug line with "startDate = Time.parse('2014-Apr-01 12:00:30')"
ruby -v:
ruby 1.9.3p545 (2014-02-24) [i386-mingw32]
Backport:
Description
Tried debug and parse string which has date and time to Time using below code
Time.parse('2014-Apr-01 12:00:30')
Actual Result: Script failed with error attached errorLog.txt file which was copied from console
Expected Result: Should return Time without any error
Files
Updated by sreesreekanth1 (Sreekanth Simhadri) about 12 years ago
Sreekanth Simhadri wrote:
Tried debug and parse string which has date and time to Time using below code
Time.parse('2014-Apr-01 12:00:30')
Actual Result: Script failed with error attached errorLog.txt file which was copied from console
Expected Result: Should return Time without any error
Resolved the issue by using DateTime.parse('2014-Apr-01 12:00:30').to_time
Updated by avit (Andrew Vit) about 12 years ago
Updated by hsbt (Hiroshi SHIBATA) about 12 years ago
- Status changed from Open to Closed
Updated by nobu (Nobuyoshi Nakada) about 12 years ago
Ask debugger gem developers.
Updated by usa (Usaku NAKAMURA) about 12 years ago
- Status changed from Closed to Third Party's Issue
Actions