| 1 |
# Copyright (c) 2015-2026 Sullivan Beck. All rights reserved. |
| 2 |
# This program is free software; you can redistribute it and/or modify it |
| 3 |
# under the same terms as Perl itself. |
| 4 |
|
| 5 |
=pod |
| 6 |
|
| 7 |
=head1 NAME |
| 8 |
|
| 9 |
Date::Manip::History - Twenty years and still going strong |
| 10 |
|
| 11 |
=head1 TWENTY YEARS |
| 12 |
|
| 13 |
I just realized (Dec 2015) that Date::Manip turned twenty years old |
| 14 |
earlier this year, so I wanted to write some thoughts I have about |
| 15 |
Date::Manip. |
| 16 |
|
| 17 |
The history of Date::Manip can be broken into several periods. |
| 18 |
|
| 19 |
=over 4 |
| 20 |
|
| 21 |
=item Birth of Date::Manip (1995-1996) |
| 22 |
|
| 23 |
1995 was the year I really started using perl to automate some of |
| 24 |
my common tasks. At the time, I was running programs using a number |
| 25 |
of different batch systems that needed dates entered in a variety |
| 26 |
of different formats. It was frustrating to remember what format for |
| 27 |
what batch system, so I wrote some wrappers which would take a few |
| 28 |
common formats that I wanted to use and would turn those dates into |
| 29 |
whatever format the batch system needed. |
| 30 |
|
| 31 |
After a few different wrapper scripts (where I copied the date handling |
| 32 |
code between the scripts), I gathered all of the date routines into |
| 33 |
one package. |
| 34 |
|
| 35 |
This was the birth of Date::Manip. |
| 36 |
|
| 37 |
I kept it that way for about half a year. By that time, I was thoroughly |
| 38 |
in love with perl and wanted to contribute. |
| 39 |
|
| 40 |
At the time, CPAN was just a fledgling site, but in October, I released |
| 41 |
my first package. It wasn't really a module at that time... it was |
| 42 |
crudely put together and extremely limited use. Even so, it got some |
| 43 |
very positive initial feedback which spurred the early growth. |
| 44 |
|
| 45 |
There were several private versions followed by 4 public releases (4.0 |
| 46 |
through 4.3) during this period. |
| 47 |
|
| 48 |
Soon, I had adopted many of the best practices of the day and converted |
| 49 |
it to a full-blown module. |
| 50 |
|
| 51 |
=item Active development (1996-2001) |
| 52 |
|
| 53 |
The next 5 years were extremely active. Based on suggestions and requests, |
| 54 |
functionality increased dramatically, and before long, Date::Manip was |
| 55 |
considered the goto module for Date operations. |
| 56 |
|
| 57 |
During this period, a number of other modules came along that did a small |
| 58 |
subset of the functions of Date::Manip (most of them significantly faster), |
| 59 |
but none had the scope of Date::Manip. |
| 60 |
|
| 61 |
During this period, I recognized that the single biggest weakness was |
| 62 |
the inability to correctly handle timezones and daylight saving time. |
| 63 |
Towards the end of this period (2000 I believe), I began a project to |
| 64 |
rewrite Date::Manip, but I didn't have the time needed to really carry it |
| 65 |
out at that time. |
| 66 |
|
| 67 |
Another weakness was that Date::Manip grew in a random way. As ideas |
| 68 |
and suggestions came, I added them. There was little planning or |
| 69 |
forethought involved, and that led to it not having a consistent |
| 70 |
API. |
| 71 |
|
| 72 |
1998 did see the addition of Recurrences. Although not an extremely |
| 73 |
widely used piece of functionality, I regard this as the single most |
| 74 |
important contribution I have ever made. I developed the notation for |
| 75 |
specifying recurring events, and no other notation has ever come close |
| 76 |
to matching it's power and flexibility. |
| 77 |
|
| 78 |
This period, starting with the first release in a full module form, |
| 79 |
included 26 releases (from 5.00 to 5.40). |
| 80 |
|
| 81 |
=item Minimal maintenance (2001-2008) |
| 82 |
|
| 83 |
During these years, I was able to devote time needed to maintain the |
| 84 |
existing module, but not to do major development. |
| 85 |
|
| 86 |
As a result, the rewrite project remained incomplete (and in fact, it |
| 87 |
was barely started). |
| 88 |
|
| 89 |
During this time, due to the fact that no other module could handle |
| 90 |
timezones correctly, DateTime arrived in 2003. It featured a nice |
| 91 |
object-oriented interface, and handled timezones. |
| 92 |
|
| 93 |
Over the next few years, it became the de facto standard for date |
| 94 |
handling in perl. |
| 95 |
|
| 96 |
This period included only 8 releases (5.42 to 5.54). |
| 97 |
|
| 98 |
=item Rewrite (2009-2010) |
| 99 |
|
| 100 |
In 2009, I decided it was time to fix the timezone problems in Date::Manip . |
| 101 |
Some people might see this as a waste of time due to the fact that DateTime |
| 102 |
existed, but I had several thoughts. |
| 103 |
|
| 104 |
First, many people continued to use Date::Manip. This was evident by |
| 105 |
the number of emails I continued to receive. |
| 106 |
|
| 107 |
Second, there were still things that Date::Manip did better than DateTime |
| 108 |
including recurrences and parsing. |
| 109 |
|
| 110 |
Third, I love my module, and didn't want to see it die. I'll continue to |
| 111 |
use it, even if nobody else does. |
| 112 |
|
| 113 |
So, I set out to fix it. It turned out to be a complete rewrite, but in |
| 114 |
the end, version 6 was released with full timezone handling, even better |
| 115 |
parsing, and quite a few other features. |
| 116 |
|
| 117 |
Date::Manip was once again very much alive. |
| 118 |
|
| 119 |
This period featured 13 releases (6.00 to 6.14) with an additional |
| 120 |
2 maintenance releases of version 5. |
| 121 |
|
| 122 |
=item Active maintenance (2010-present) |
| 123 |
|
| 124 |
Although primarily in maintenance mode (due to the fact that it does |
| 125 |
pretty much everything that it was designed to do), active maintenance |
| 126 |
continues. There is also some development and a large number of |
| 127 |
significant improvements have been made in this period. |
| 128 |
|
| 129 |
I make regular releases to update the timezone information, fix bugs, |
| 130 |
and add the occasional new features. |
| 131 |
|
| 132 |
For the foreseeable future, Date::Manip will remain active, and fully |
| 133 |
capable of handling any common date operation. |
| 134 |
|
| 135 |
Since 6.14, there have been an average of about 5 releases per year. |
| 136 |
|
| 137 |
=back |
| 138 |
|
| 139 |
=head1 ONE OF THE OLDEST |
| 140 |
|
| 141 |
I was curious to see how many other modules are out there that have |
| 142 |
survived as long as Date::Manip. |
| 143 |
|
| 144 |
The first public release of Date::Manip (though it was not a module |
| 145 |
at that point) was version 4.0 on 13-Aug-1995. The first public |
| 146 |
release to CPAN was version 4.2 released on 23-Oct-1995. |
| 147 |
|
| 148 |
I got a list of all CPAN modules from the wayback machine for 2000 |
| 149 |
(the earliest version of the list that I could find). Then I checked |
| 150 |
each of these authors on backpan to see which of these authors had |
| 151 |
packages (.tar.gz or .tgz files) released prior to 23-Oct-1995. |
| 152 |
|
| 153 |
I found that at the time Date-Manip 4.2 was released there were |
| 154 |
|
| 155 |
32 authors |
| 156 |
70 packages |
| 157 |
|
| 158 |
There are currently (Aug 2017) over 190,000 modules by over 13,000 authors. |
| 159 |
So Date::Manip got involved in CPAN very early. |
| 160 |
|
| 161 |
Next, I tried to determine which of those authors and packages are |
| 162 |
still active. I'm not completely sure about some of the packages because |
| 163 |
frequently, those old packages have changed maintainers, been renamed, |
| 164 |
or been incorporated into other packages. So the number of active |
| 165 |
packages may be missing a couple. |
| 166 |
|
| 167 |
I found that: |
| 168 |
|
| 169 |
13 of the 32 authors are active today |
| 170 |
21 of the 70 packages are active today |
| 171 |
7 of those packages are still maintained by the original author |
| 172 |
|
| 173 |
An active author is one who has released something in the past 3 years. |
| 174 |
An active module is one that has been updated in the past 3 years. |
| 175 |
|
| 176 |
I apologize if I have missed anyone. |
| 177 |
|
| 178 |
The 7 packages which are older than Date::Manip and are still actively |
| 179 |
maintained by their original author (though they may have been renamed) |
| 180 |
are: |
| 181 |
|
| 182 |
ILYAZ MathPari 23-Jan-1995 |
| 183 |
ANDK Symdump 16-Aug-1995 |
| 184 |
PMQS Filter 28-Aug-1995 |
| 185 |
GAAS libwww-perl 16-Sep-1995 |
| 186 |
LDS GD 17-Sep-1995 |
| 187 |
MEWP sybperl 02-Oct-1995 |
| 188 |
TOMZO Quota 10-Oct-1995 |
| 189 |
|
| 190 |
Congratulations to those authors who have been with perl since the |
| 191 |
beginning. I'm proud to be in their company! And congratulations to |
| 192 |
ILYAZ for having the oldest module in CPAN! |
| 193 |
|
| 194 |
If I have missed anyone, please let me know. |
| 195 |
|
| 196 |
2022 Update: |
| 197 |
|
| 198 |
Three of the above packages have now been removed from the list. |
| 199 |
|
| 200 |
Symdump has not been updated since 2017, though the author is still active, |
| 201 |
and the package is still available. |
| 202 |
|
| 203 |
Filter and GD are still maintained but by new authors. |
| 204 |
|
| 205 |
So, it seems like we're down to 4 packages that are actively maintained by |
| 206 |
the original author that are older than Date::Manip. |
| 207 |
|
| 208 |
2026 Update: |
| 209 |
|
| 210 |
It appears that we are down to 2. libwww-perl has changed ownership and Quota |
| 211 |
is inactive, so we are down to: |
| 212 |
|
| 213 |
ILYAZ MathPari 23-Jan-1995 |
| 214 |
MEWP sybperl 02-Oct-1995 |
| 215 |
|
| 216 |
=head1 SEE ALSO |
| 217 |
|
| 218 |
L<Date::Manip> - main module documentation |
| 219 |
|
| 220 |
=head1 LICENSE |
| 221 |
|
| 222 |
This script is free software; you can redistribute it and/or |
| 223 |
modify it under the same terms as Perl itself. |
| 224 |
|
| 225 |
=head1 AUTHOR |
| 226 |
|
| 227 |
Sullivan Beck (https://github.com/SBECK-github/) |
| 228 |
|
| 229 |
=cut |