#!/usr/bin/env python3
"""
Fix timezone handling in all automation scripts
"""

import os
import glob
from datetime import datetime
import pytz

# Set Keith's timezone
MST = pytz.timezone('America/Denver')

def get_keith_time():
    """Get current time in Keith's timezone"""
    return datetime.now(MST)

def get_keith_date_str():
    """Get current date string in Keith's timezone"""
    return get_keith_time().strftime('%Y-%m-%d')

def get_keith_day_name():
    """Get day name in Keith's timezone"""
    return get_keith_time().strftime('%A')

# Test the functions
if __name__ == "__main__":
    now = get_keith_time()
    print(f"Keith's current time: {now}")
    print(f"Keith's current date: {get_keith_date_str()}")
    print(f"Keith's current day: {get_keith_day_name()}")
    
    # Show what Feb 16 actually is
    from datetime import date
    feb16 = date(2026, 2, 16)
    print(f"Feb 16, 2026 is: {feb16.strftime('%A')}")