diff options
author | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-05-12 20:45:45 +0000 |
---|---|---|
committer | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-05-12 20:45:45 +0000 |
commit | f154226900b258f6f51b328fab98becd6c23f5f7 (patch) | |
tree | d49a8ad685574cc75aace294f0c34e241a8d9f89 | |
parent | e2b3183fc2c065f8aa9ae77f5ef7d0c8e29744af (diff) | |
download | ruby-f154226900b258f6f51b328fab98becd6c23f5f7.tar.gz |
* lib/logger.rb (class Logger): Document Logger#datetime_format.
Patch by Sergio Gil Pérez de la Manga. [Ruby 1.9 - Bug #4678]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 21 | ||||
-rw-r--r-- | lib/logger.rb | 1 |
2 files changed, 22 insertions, 0 deletions
@@ -1,3 +1,24 @@ +Fri May 13 05:44:19 2011 Eric Hodel <drbrain@segment7.net> + + * lib/logger.rb (class Logger): Document Logger#datetime_format. + Patch by Sergio Gil Pérez de la Manga. [Ruby 1.9 - Bug #4678] + +Fri May 13 05:39:11 2011 Eric Hodel <drbrain@segment7.net> + + * re.c (Init_Regexp): Document option constants. Patch by Vincent + Batts. [Ruby 1.9 - Bug #4677] + * lib/uri/common.rb (module URI): Documentation for URI. Patch by + Vincent Batts. [Ruby 1.9- Bug #4677] + * lib/uri/ftp.rb (module URI): ditto + * lib/uri/generic.rb (module URI): ditto + * lib/uri/http.rb (module URI): ditto + * lib/uri/https.rb (module URI): ditto + * lib/uri/ldap.rb (module URI): ditto + * lib/uri/ldaps.rb (module URI): ditto + * lib/uri/mailto.rb (module URI): ditto + * process.c (Init_process): Document Process constants. Patch by + Vincent Batts. [Ruby 1.9- Bug #4677] + Fri May 13 05:16:38 2011 Eric Hodel <drbrain@segment7.net> * lib/rss/atom.rb (module RSS): Document URIs. Patch by Mark Turner. diff --git a/lib/logger.rb b/lib/logger.rb index ad1c06fb0e..283db8d1f8 100644 --- a/lib/logger.rb +++ b/lib/logger.rb @@ -224,6 +224,7 @@ class Logger @default_formatter.datetime_format = datetime_format end + # Returns the date format (string passed to +strftime+) being used (it's set using datetime_format=) def datetime_format @default_formatter.datetime_format end |