From 5d988f91b786b39d73240bbbf30f5e2a9743e3cf Mon Sep 17 00:00:00 2001 From: Sami Samhuri Date: Sat, 18 Apr 2015 19:57:59 -0700 Subject: [PATCH] [flux] print current time --- flux | 1 + 1 file changed, 1 insertion(+) diff --git a/flux b/flux index 86091fd..d1d403a 100755 --- a/flux +++ b/flux @@ -44,6 +44,7 @@ def flux(options) hour, min = time.hour, time.min padded_min = min < 10 ? "0#{min}" : "#{min}" now = "#{hour}:#{padded_min}" + puts "current time: #{now}" found = if options[:set_current] now = now.sub(':', '').to_i