Files
moodle/lib
defacer 830a2bbd82 Yay! Major DST support progress!
1. calculate_user_dst_table() works correctly and offers many features:

Can create or extend on-the-fly a table of pre-computed timestamps on which
DST changes happen, keeps track of these changes and the current computed year
range in $USER->dstoffsets and $USER->dstrange. Initially the computation is
done in a current year +/- 3 years range, to keep the amount of serialized
data small and to make traversals of $USER->dstoffsets faster.

2. dst_offset_on() works correctly, and can dynamically instruct the above
function to extend the pre-calculated region on demand (i.e., when it's called
for a timestamp which falls outside said region).

3. Some other improvements.



I have made a few preliminary tests on my dev machine and It Works(tm!) :D
2005-03-26 18:43:58 +00:00
..
2005-03-25 21:09:36 +00:00
2005-03-15 13:07:44 +00:00
2005-02-06 19:23:32 +00:00
2004-09-16 17:13:57 +00:00
2005-01-22 10:58:25 +00:00
2005-03-12 15:56:19 +00:00
2005-03-15 09:21:50 +00:00
2004-05-08 14:02:18 +00:00
2004-03-20 04:08:19 +00:00
2005-02-28 16:26:06 +00:00
2004-09-12 13:21:01 +00:00
2004-08-29 15:46:22 +00:00
2004-01-23 08:40:29 +00:00
2005-03-26 18:43:58 +00:00
2004-09-26 04:54:03 +00:00
2005-03-23 04:00:46 +00:00
2004-09-12 13:21:01 +00:00
2005-03-25 00:00:37 +00:00
2005-03-07 11:53:00 +00:00
2005-03-26 13:38:21 +00:00
2004-09-12 13:21:01 +00:00
2005-03-01 08:45:05 +00:00
2002-08-12 07:44:53 +00:00