Commit graph

31 commits

Author SHA1 Message Date
Drake
1ad3f6e3b3 Make DBI connect errors not infinitely recurse. 2006-09-21 00:25:01 +00:00
Colin Kuskie
b3678c6795 fix bad minute spec in Session/DateTime/epochToHttp. Add tests to cover 2006-08-09 20:06:19 +00:00
Roy Johnson
c93d6ba4d2 fix: ?op=listTransactions causes fatal
Session/DateTime addToTime, addToDate, and addToDateTime now default to the current epoch as a starting point.
2006-06-14 16:23:20 +00:00
Wouter van Oijen
9a087b0ac8 Cleaning up and bugfixing DateTime.pm 2006-06-02 08:25:06 +00:00
Matthew Wilson
4078d4d417 validating (and caching) timezone. 2006-05-19 02:07:52 +00:00
JT Smith
61050f1aed fix [ 1489528 ] HTTP header contains invalid time-stamp 2006-05-18 00:09:20 +00:00
Wouter van Oijen
559241d62a Removed incrementMonth (not needed) and added getMonthDiff 2006-05-11 15:10:47 +00:00
Wouter van Oijen
3138f403d5 - Fixed a number of bugs in DateTime.pm
- Cleaned up code (fixed typo's, removed debug code)
- Added incrementMonth subroutine (with POD)
2006-05-11 10:36:24 +00:00
Frank Dillon
8dae97b372 Fixed bug in setToEpoch which would throw an error instead of returning gracefully if date format was wrong. It now returns today's date in this case 2006-05-07 20:30:15 +00:00
Frank Dillon
ef071382fc Added some methods. Added timezone to a few methods to fix date reporting issues. 2006-05-05 14:34:26 +00:00
Wouter van Oijen
be219b7654 Fixed timezone problem in dayStartEnd routine
Fixed documentation
2006-05-04 11:05:10 +00:00
Frank Dillon
4630352d9d added addToDateTime method which combines addToDate and addToTime into one method saving clock cycles for dates which need both day and time added. 2006-05-01 21:46:57 +00:00
Frank Dillon
92626f43af Added getDayOfWeek function which returns the numeric day of the week (1=Monday, 2=Tuesday, etc) 2006-05-01 21:17:53 +00:00
Frank Dillon
33c742487d Fixed error with monthStartEnd where timezone was not being set prior to getting the start and end of the month. 2006-05-01 20:15:40 +00:00
Frank Dillon
35689596f5 Added monthCount method to Synopsis. 2006-05-01 16:50:07 +00:00
Frank Dillon
0080a55bf8 Removed getMonthsInInterval method as it already exists with the name of monthCount 2006-05-01 16:47:37 +00:00
Frank Dillon
09bece8f8e Added getMonthsInInterval method analogous to getDaysInInterval method 2006-05-01 16:42:06 +00:00
JT Smith
1533a1c648 whoops! this should unbugger the http headers 2006-04-18 23:19:18 +00:00
JT Smith
2b02f055f9 added new mail retrieval subsystemm 2006-04-09 15:14:07 +00:00
JT Smith
7731a32559 fixed some pod errors
removed futile inbox attempt
2006-01-31 23:10:10 +00:00
Matthew Wilson
4a3121960f removal of dumpSession. 2006-01-26 05:39:16 +00:00
Matthew Wilson
3d740cdfac oodles of fixes. 2006-01-21 02:01:15 +00:00
Colin Kuskie
1ad601c8d9 - bitwise OR vs short circuiting OR in epochToHuman
- time zone in humanToEpoch
- time zone in getSecondsFromEpoch
- monthStartEnd, returned start month was not the 1st day of the month
2006-01-17 04:23:32 +00:00
Matthew Wilson
09483e18c5 a ton of $session fixes (thanks to Colin), and a new $session checker, that supposedly, shouldn't be needed now. It can be backed out, however, easily. 2006-01-16 22:45:21 +00:00
Colin Kuskie
edfaa153b9 end of test program sweeps for dictionary lookups via subroutine instead
of object method.
2006-01-15 02:34:50 +00:00
JT Smith
07c7cf6098 more bug fixes 2006-01-14 23:31:49 +00:00
Matthew Wilson
3c66a9105f lots of DESTROYs 2006-01-14 22:26:48 +00:00
Colin Kuskie
c76c1bded7 flip sense of object detection in datetime so that it creates and caches object.
make DateTime::time return time(), like it used to.
2006-01-14 19:25:20 +00:00
Colin Kuskie
84e20a1a96 Session/Http, rework getCookies logic so that empty hash is returned if there's no
request object.  That way a sessionId gets created back in Session::Var::start.

Session.pm: pass Session::DateTime->new a session object instead of self

Session/DateTime.pm:  Added a space.  Note that this is infinite recursion since
it calls itself.
2006-01-14 18:58:30 +00:00
JT Smith
ee5ccfad26 more bug fixes 2006-01-13 21:47:38 +00:00
JT Smith
9520b4ce48 migrating datetime api for session 2006-01-10 17:06:41 +00:00
Renamed from lib/WebGUI/DateTime.pm (Browse further)