Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
wfpl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2eab32b
)
this_month() doesn't return with a leading zero
author
Jason Woofenden
<jason183@herkamire.com>
Thu, 18 Jan 2007 14:39:45 +0000
(09:39 -0500)
committer
Jason Woofenden
<jason183@herkamire.com>
Thu, 18 Jan 2007 14:39:45 +0000
(09:39 -0500)
misc.php
patch
|
blob
|
history
diff --git
a/misc.php
b/misc.php
index
abe5c28
..
2d90ada
100644
(file)
--- a/
misc.php
+++ b/
misc.php
@@
-22,7
+22,7
@@
function this_year() {
# return the number of the current month (1..12)
function this_month() {
- return strftime('%m');
+ return ereg_replace('^0', '', strftime('%m'));
}