Skip to content

whereDay and whereMonth inconsistent when passing int values #28184

Closed
@oliversarfas

Description

  • Laravel Version: 5.8.11
  • PHP Version: 7.3.2
  • Database Driver & Version: MySQL 5.7.25

Description:

When using whereDay, or whereMonth, passing an integer produces mixed results based on the current date

Steps To Reproduce:

add a whereDay, or whereMonth to a builder instance, when the date is less than 10th of the month, or the month is less than 10.

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions