Fixes the date bullshit