Lines Matching refs:now
157 update_proc = proc{|now, tz, label|
158 time[label] = Tk.tk_call('clock', 'format', now.tv_sec,
162 update_proc = proc{|now, tz, label|
163 time[label] = tz.utc_to_local(now).strftime('%H:%M:%S')
166 update_proc = proc{|now, tz, label|
167 time[label] = tz.at(now.tv_sec).strftime('%H:%M:%S')
170 update_proc = proc{|now, tz, label|
171 time[label] = (now + (tz * 3600)).strftime('%H:%M:%S')
185 now = Time.now.utc
186 zones.each{|zone, label| update_proc.call(now, zone, label) }