Hi,
I made a package that is not in its final form but I want to show it and request comments and bug reports.
Here is the package in my file storage. Also, here's a package you can use to drive it.
I am developing the package on openacs-5.2 core, and that's all you need of it to use the package.
The package key is dhms-interval, but the data type and widget name is dhms_interval.
usage:
ad_form -name formname -form {
...
{my_interval:dhms_interval(dhms_interval)
{label {This text tells user what the field is for}}
}
...
} ...
Its "data model" consists of two plpgsql funcs that convert between pg interval datatype and my dhms_interval string form.
TODO:
- start working on oracle implementation
- generalize so that all of the interval structure can be used
- generalize so programmers can format the form to suit their desired look
Request notifications