parent
4203d6269a
commit
31aeacfccd
2
mod/date
2
mod/date
|
@ -3,7 +3,7 @@
|
||||||
class ModDate < Worker
|
class ModDate < Worker
|
||||||
def mainloop()
|
def mainloop()
|
||||||
while true do
|
while true do
|
||||||
self.write Time.now.strftime(@my_config['format'])
|
self.write Time.now.getlocal(@my_config['offset']).strftime(@my_config['format'])
|
||||||
sleep(1)
|
sleep(1)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue