Updated layers.py to use the actual tweet time for the date filtering