Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
wfpl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
this_month() doesn't return with a leading zero
[wfpl.git]
/
misc.php
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'));
}