Commit 41243a62 authored by Breixo Senra's avatar Breixo Senra

Fecha marcada por input

parent cbecdac1
...@@ -159,7 +159,7 @@ public class PetManagedBean implements Serializable{ ...@@ -159,7 +159,7 @@ public class PetManagedBean implements Serializable{
this.service.update(pet); this.service.update(pet);
} else { } else {
//this.service.create(new Pet(name, animal, birth)); //this.service.create(new Pet(name, animal, birth));
this.service.createPet(name, animal, new Date()); this.service.createPet(name, animal, birth);
} }
this.clear(); this.clear();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment