Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
ruby
spec
Repository navigation
Code
Issues
21
(21)
Pull requests
7
(7)
Actions
Wiki
Security and quality
Insights
More
items
Date, DateTime, and Time expanded coverage
- #521
#521
Merged
eregon
merged 12 commits into
ruby:master
ruby/spec:master
from
cadwallion:datetime
cadwallion/spec:datetime
Copy head branch name
Oct 21, 2017
Conversation
Commits
12
(12)
Checks
Files changed
Merged
Date, DateTime, and Time expanded coverage
#521
eregon
merged 12 commits into
ruby:master
ruby/spec:master
from
cadwallion:datetime
cadwallion/spec:datetime
Copy head branch name
Commits
Commits on Oct 12, 2017
Adds DateTime#to_datetime
cadwallion
committed
f8a581a
View commit details
Copy full SHA for f8a581a
Browse repository at this point
Adds DateTime#to_date
cadwallion
committed
7d32193
View commit details
Copy full SHA for 7d32193
Browse repository at this point
Adds DateTime#to_s
cadwallion
committed
58ddc8a
View commit details
Copy full SHA for 58ddc8a
Browse repository at this point
Expands coverage of DateTime#now
cadwallion
committed
7db3b7b
View commit details
Copy full SHA for 7db3b7b
Browse repository at this point
Commits on Oct 16, 2017
Time.now spec checks time
cadwallion
committed
1408eaa
View commit details
Copy full SHA for 1408eaa
Browse repository at this point
Date.today checks against local date
cadwallion
committed
1e3c3ed
View commit details
Copy full SHA for 1e3c3ed
Browse repository at this point
Time.now preserves local timezone
cadwallion
committed
f89de83
View commit details
Copy full SHA for f89de83
Browse repository at this point
Better describes the Timezone preservation for DateTime.now
cadwallion
committed
f410d19
View commit details
Copy full SHA for f410d19
Browse repository at this point
Commits on Oct 19, 2017
Replace data shell out with Process#clock_gettime
cadwallion
committed
af15365
View commit details
Copy full SHA for af15365
Browse repository at this point
Be close enough on time
cadwallion
committed
6fb7e78
View commit details
Copy full SHA for 6fb7e78
Browse repository at this point
Properly implement be_close on timing assertion
cadwallion
committed
ad1e861
View commit details
Copy full SHA for ad1e861
Browse repository at this point
DateTime.now uses be_close to avoid day rollover
cadwallion
committed
756752f
View commit details
Copy full SHA for 756752f
Browse repository at this point
You can’t perform that action at this time.