Add time_precision option to datetime_to_epoch.