Set locale explicitly in DateRangeWithSql. (#15342)

Change-Id: I5f73ac5e8bc6be93fa0f9b9089b1584fb35f4a76