added support for . separator in dates