Skip to content

Instantly share code, notes, and snippets.

View adryhappier's full-sized avatar
🏠
Working from home

Adry Happier adryhappier

🏠
Working from home
View GitHub Profile
@adryhappier
adryhappier / test_time.rb
Created December 27, 2018 10:03
Check validate time format on ruby
require 'time'
[
'2017-12-01 10:10',
'2017-13-01 16:00',
'2017-01-31 38:00',
'2017-01-32',
'2017-01-32',
'2016-02-29',
'2017-02-29',