title: Date being sent in Selenium Webdriver (java) comes out wrong
body: <p>I have a small script that sends a date to an Inputfield with ID=bla.</p>
  
  <pre><code>@Then("^I fill in the date \"([^\"]*)\"$")
  public void fill_date(String date) throws Throwable {
  
    waitForElementPresent(By.id(bla));
    driver.findElement(By.id(bla)).click();
    driver.findElement(By.id(bla)).clear();
    driver.findElement(By.id(bla)).sendKeys(date);
    driver.findElement(By.id(Submitbutton).click();
    }
  </code></pre>
  
  <p>Now, every time I run it with, for example, date=28-06-1985, it completely messes up the date and actually sends "28-61-8590" instead of "28-06-1985". Needless to say, my test fails because the date does not exists... I also removed the Click and Clear before sending the date, but nothing seems to be working. Also, removing the stripes in the data (so sending 28061985) doesn't do anything.</p>
  
  <p>What am I doing wrong here? Is there a better way to fill an input field with a date?</p>