Translate human time ranges to a machine-readable way

1