12/18/11
Sunday 12:46am
Date Posted: 12/18/11
- Updated the most recently updated article and news item lists to list items that are newly created and have not been updated yet.
- In the list of articles displayed the time since last updated will measure from the date it was created if it has never been updated yet.
- Fixed a bug in the article lists where the date last updated was an hour off.
This is not how I originally intended to fix this "bug". Originally, I had it so that the date last updated was the same as the date created if a file was newly created. On further thought I felt that the date last updated should be left blank if it had never been updated before as this makes more sense. After using the script this way I was about to go back to the way it was due to recently created files not being listed in the "
most recently updated" lists. It then occurred to me at the last minute to use a default value if the date last updated is blank. This helps to stay true to the understanding of the word "
updated" and yet make recently updated articles and news items visible.
When viewing individual newly created articles the "date last updated" will still be blank. If this were the same date as the date it was newly created the reader would not know if the article had been recently edited or not within the last few hours.
TAGS: noneAll Memo Tags
allegory 1,
anime 1,
article 6,
audio 2,
books 3,
bug 19,
code 1,
commercial 1,
computer 15,
election 2,
ereader 5,
fixed 11,
games 24,
hard to remember 1,
history 1,
keyboard shortcuts 1,
links 3,
memo blog 1,
mini-review 10,
moving 2,
music 1,
mysql 1,
news 31,
none 1843,
opera 69,
politics 9,
private 15,
quotes 1,
reformat hard drive 19,
sgopc 1,
site update 15,
site version 205,
sleep 3,
star wars 2,
story 4,
swtor 1,
texas 1,
video 5,
website 22,
windows 10 1,
wishlist 3