Ah. to_datetime without a time of day sets time to midnight in UTC. Then when you call DateTime.now , you get your local timezone.
確定! 回上一頁