lib/rufus/scheduler/zotime.rb in rufus-scheduler-3.2.0 vs lib/rufus/scheduler/zotime.rb in rufus-scheduler-3.2.1
- old
+ new
@@ -1,7 +1,7 @@
#--
-# Copyright (c) 2006-2015, John Mettraux, jmettraux@gmail.com
+# Copyright (c) 2006-2016, John Mettraux, jmettraux@gmail.com
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
@@ -83,10 +83,10 @@
def to_f
@seconds
end
- #DELTA_TZ_REX = /^[+-][0-1][0-9]:?[0-5][0-9]$/
+ #DELTA_TZ_REX = /\A[+-][0-1][0-9]:?[0-5][0-9]\z/
def self.envtzable?(s)
TIMEZONES.include?(s)
end