about summary refs log tree commit homepage
path: root/lib/dtas/format.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/dtas/format.rb')
-rw-r--r--lib/dtas/format.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dtas/format.rb b/lib/dtas/format.rb
index 001a444..f378f8e 100644
--- a/lib/dtas/format.rb
+++ b/lib/dtas/format.rb
@@ -164,7 +164,7 @@ class DTAS::Format # :nodoc:
     end
 
     # deal with HH:MM:SS
-    t = time.split(/:/)
+    t = time.split(':')
     raise ArgumentError, "Bad time format: #{hhmmss}" if t.size > 3
 
     mult = 1