Created
September 21, 2011 15:26
-
-
Save ferventcoder/1232364 to your computer and use it in GitHub Desktop.
Bugs 101 - Hiding content if the publish date has a time in it
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Consider this, both dates below are in the past. One of these will show up, the other one will not. | |
*/ | |
INSERT INTO articles (PublishedDate) VALUES ('2011-09-20 07:15:25') | |
--this one will show up | |
INSERT INTO articles (PublishedDate) VALUES ('2011-09-20 00:00:00') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment