Log of /contributions/modules/duration/duration_element.module
Parent Directory
|
Revision Log
|
Revision Graph
Revision
1.4 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Apr 30 10:53:01 2008 UTC
(18 months, 3 weeks ago)
by
jpetso
Branch:
MAIN
CVS Tags:
DRUPAL-6--0-9
Changes since
1.3: +25 -7 lines
Diff to
previous 1.3
Fix a couple of bugs related to the months/weeks conflict, and introduce
a settings form for the duration_combo widget. I'd consider this widget
relatively complete now.
Still on the wishlist: a widget using the duration_select element.
Revision
1.3 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Apr 28 19:43:32 2008 UTC
(18 months, 3 weeks ago)
by
jpetso
Branch:
MAIN
Changes since
1.2: +85 -66 lines
Diff to
previous 1.2
More refactoring, including but not restricted to:
- Usage of '#tree', in order to get rid of the bad element name hack.
- More robust validation and tracking of the element state.
- formatISO() is now toISO(), as that's consistent with toArray()
and toSingleMetric(), naming-wise.
- Plus, make toISO() work at all by returning the result string :P
Revision
1.2 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Apr 26 23:34:02 2008 UTC
(18 months, 4 weeks ago)
by
jpetso
Branch:
MAIN
Changes since
1.1: +32 -31 lines
Diff to
previous 1.1
Ah, so it didn't work because I forgot to rename the functions (hooks)
together with the files. That works now.
Bonus feature: an option to decide between inline display or not
for 'duration_combo' elements.
Revision
1.1 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Apr 26 23:16:47 2008 UTC
(18 months, 4 weeks ago)
by
jpetso
Branch:
MAIN
So, what happens if jpetso has a lot of work to do and should really
get the important stuff done first?
Right, he works on making the unimportant stuff perfect, including
a complete rework of the Duration API - which is now split into a real
(ISO compatible, highly reusable) duration object and a set of
(new) formatter functions. Plus some further rework to make the elements
rock a bit more, too.
Frickin' cool, no? ...well, not entirely:
- Still no CCK integration (although the formatter functions will
make it easy to write some fine formatters), and, of course,
- More important work still left behind :P
But both of those will work out in the end, I presume.
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
select a symbolic revision name using the selection box, or choose
'Use Text Field' and enter a numeric revision.