disinclined.org
/
git
/
dylansserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f6d6e9
)
update page model to use entry datetime
author
Dylan Lloyd
<dylan@dylansserver.com>
Thu, 2 Jan 2014 22:28:36 +0000
(22:28 +0000)
committer
Dylan Lloyd
<dylan@dylansserver.com>
Thu, 2 Jan 2014 22:28:36 +0000
(22:28 +0000)
model/page.php
patch
|
blob
|
history
diff --git
a/model/page.php
b/model/page.php
index
b4c5577
..
220c604
100644
(file)
--- a/
model/page.php
+++ b/
model/page.php
@@
-50,7
+50,7
@@
class page extends model {
$entry['year_posted'] = $date_posted[0];
$entry['month_posted'] = $date_posted[1];
$entry['datetime_posted'] = explode(' ', $date_posted[2]);
- $entry['day_posted'] = $entry['date_posted'][0];
+ $entry['day_posted'] = $entry['date
time
_posted'][0];
$this->notes[$row] = $entry;
}
}