summaryrefslogtreecommitdiffstats
path: root/time.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-04-21 17:41:24 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-04-21 17:41:24 +0000
commit19292a5aff438ee2909b96b67fa32aa4514b27d8 (patch)
tree5385c9195f47efab880f36985f89bb16115e436a /time.c
parentbb8ae0df3ae6c3d9dd329fd444928f33a80c0781 (diff)
downloadruby-19292a5aff438ee2909b96b67fa32aa4514b27d8.tar.gz
ruby-19292a5aff438ee2909b96b67fa32aa4514b27d8.tar.xz
ruby-19292a5aff438ee2909b96b67fa32aa4514b27d8.zip
add comment.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'time.c')
-rw-r--r--time.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/time.c b/time.c
index dd1c0d88d..881264d92 100644
--- a/time.c
+++ b/time.c
@@ -640,6 +640,9 @@ gmtimev(VALUE timev, struct vtm *result)
static struct tm *localtime_with_gmtoff(const time_t *t, struct tm *result, long *gmtoff);
/*
+ * The idea is come from Perl:
+ * http://use.perl.org/articles/08/02/07/197204.shtml
+ *
* compat_common_month_table is generated by following program.
* This table finds the last month which start the same day of a week.
* The year 2037 is not used because