Created
March 15, 2012 20:38
-
-
Save csessig86/2046741 to your computer and use it in GitHub Desktop.
Timeline.py part 8
This file contains hidden or 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
# If the story has been updated recently, an em class tag will appear on the page showing the time but not the date. We will delete the class and replace it with today's date. We can change the date in the CSV if we need to. | |
date8 = date7.replace('[<em class="item-updated badge">Updated:', str(now.strftime("%Y-%m-%d %H:%M"))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment