genmon - Overview
Highlights
- Pro
Pinned Loading
-
Calculating a blogging streak -- pse... Calculating a blogging streak -- pseudocode
1
# A Monday preceding the first post on this blog. Used for calculating week numbers2
# (Weeks start on Mondays)3
FIRST_MONDAY = date(2000, 2, 14)
4
5
# Calculate week_number and streak_weeks for every post, in order. For calculating today's -
plaintextwiki plaintextwiki Public




