[system] Repository:
ViewVC logotype

Revision 2344


Jump to revision: Previous Next
Author: glarose
Date: Thu Jun 17 18:17:40 2004 UTC (9 years, 10 months ago)
Log Message:

Added timeToSec utility function which converts strings of the form
"\d+ unit" into seconds.  It's pretty brainless, looking for the units
month or mon, week or wk (would anyone ever use wk?), day or dy
(similarly?), hour or hr, minute or min, and second, sec or /^s$/.
In the absence of any unit, it assumes seconds.

Changed paths:

Path Details
Directorybranches/rel-2-1-a1/webwork-modperl/lib/WeBWorK/Utils.pm modified , text changed
Directorybranches/rel-2-1-a1/webwork2/lib/WeBWorK/Utils.pm modified , text changed

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9