Skip to content

Replace all Date.today with Time.zone.today#393

Open
cycomachead wants to merge 2 commits intomainfrom
timezone
Open

Replace all Date.today with Time.zone.today#393
cycomachead wants to merge 2 commits intomainfrom
timezone

Conversation

@cycomachead
Copy link
Member

No description provided.

end

def remaining_days(date = Date.today)
def remaining_days(date = Time.zone.today)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
def remaining_days(date = Time.zone.today)
# Do something useful with the time zone
def remaining_days(date = Time.zone.today)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant