You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* forum :: [groups.google.com/group/wwwmake](http://groups.google.com/group/wwwmake)
9
8
10
9
11
10
12
11
## Usage
13
12
14
-
The date by example lets you format dates e.g. "January 02, 2006"
13
+
The date by example lets you format dates e.g. "January 02, 2006"
15
14
using an example as a format string e.g "January 02, 2006" instead of the classic strftime format specifier e.g. "%B %d, %Y". The date by example adds:
16
15
17
16
-`String#to_strftime`
@@ -99,7 +98,7 @@ class NilClass
99
98
end
100
99
```
101
100
102
-
For convenience the new`NilClass#format` will catchformat calls on `nil`
101
+
For convenience the new`NilClass#format` will catchformat calls on `nil`
103
102
andNOT crash but return an empty string
104
103
following the `NilClass#to_s`example:
105
104
@@ -116,7 +115,3 @@ p nil.to_s #=> ""
116
115
The`date-formatter` scripts are dedicated to the public domain.
117
116
Use it as you please with no restrictions whatsoever.
118
117
119
-
## Questions? Comments?
120
-
121
-
Send them along to the [wwwmake Forum/MailingList](http://groups.google.com/group/wwwmake).
0 commit comments