Skip to content

Commit

Permalink
Consistent transformation of date into midnight.
Browse files Browse the repository at this point in the history
  • Loading branch information
rout39574 committed Jan 1, 2019
1 parent 4f2eedd commit fdf2194
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions hackerspace_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import re;
import pandas as pd;
import time;
from datetime import datetime;

debug = False

Expand Down Expand Up @@ -200,3 +201,9 @@ def active_cust_df(colmap=cols_we_want):

}





def dayify(instamp):
return datetime(instamp.year,instamp.month,instamp.day)

0 comments on commit fdf2194

Please sign in to comment.