Module Irc::Utils
In: rbot/utils.rb
Class: JoinMessage Class: PartMessage Class: Plugins Class: KickMessage Class: IrcAuth Class: IRCChannel Class: IrcSocket Class: BotConfig Class: Keywords Class: IrcClient Class: Language Class: PrivMessage Class: UserMessage Class: NoticeMessage Class: IrcBot Class: BasicUserMessage Class: Plugin Class: Keyword Module: Irc

miscellaneous useful functions

Methods
timestr_offset   
Public Class methods
timestr_offset(timestr)

read a time in string format, turn it into "seconds from now". example formats handled are "5 minutes", "2 days", "five hours", "11:30", "15:45:11", "one day", etc.

Throws:RunTimeError "invalid time string" on parse failure