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
DateTime#to_time and Time#to_time
- #490
#490
Merged
eregon
merged 6 commits into
ruby:master
ruby/spec:master
from
cadwallion:timezone
cadwallion/spec:timezone
Copy head branch name
Oct 11, 2017
Conversation
Commits
6
(6)
Checks
Files changed
Merged
DateTime#to_time and Time#to_time
#490
eregon
merged 6 commits into
ruby:master
ruby/spec:master
from
cadwallion:timezone
cadwallion/spec:timezone
Copy head branch name
Commits
Commits on Oct 10, 2017
Time#to_time spec
cadwallion
committed
4e87793
View commit details
Copy full SHA for 4e87793
Browse repository at this point
Commits on Oct 11, 2017
Adds specs for DateTime#to_time
Show description for 9877804
cadwallion
committed
9877804
View commit details
Copy full SHA for 9877804
Browse repository at this point
Adds timezone comparison
Show description for d885713
cadwallion
committed
d885713
View commit details
Copy full SHA for d885713
Browse repository at this point
Updates for clarity on to_time
cadwallion
committed
3e49c44
View commit details
Copy full SHA for 3e49c44
Browse repository at this point
Version guard on timezone preservation of DateTime#to_time
cadwallion
committed
2956ad1
View commit details
Copy full SHA for 2956ad1
Browse repository at this point
Moves the to_time call into the with_timezone to verify no timezone shift
cadwallion
committed
2ebbac1
View commit details
Copy full SHA for 2ebbac1
Browse repository at this point
You can’t perform that action at this time.