Skip to content

Inconsistent end_of_day result #4989

@sebastianguarin

Description

@sebastianguarin

Environment

  • jruby-9.1.15.0
  • rails 4.2.9
  • Darwin 14.5.0 Darwin Kernel Version 14.5.0: Sun Jun 4 21:40:08 PDT 2017; root:xnu-2782.70.3~1/RELEASE_X86_64 x86_64

Expected Behavior

  • The following occurs in MRI ruby:

Time.now.end_of_day => 2018-01-18 23:59:59 +1100

Actual Behavior

  • In Jruby-9.1.15.0:

jruby-9.1.15.0 > Time.now.end_of_day => 2018-01-19 00:00:00 +1100

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions