Compare commits

...

4 Commits

2 changed files with 3 additions and 3 deletions

View File

@ -149,7 +149,7 @@
} }
if (this.getField("pa-end-date").value != "JJJJ-MM") { if (this.getField("pa-end-date").value != "JJJJ-MM") {
var endDate = new Date(this.getField("pa-end-date").value); var endDate = new Date(this.getField("pa-end-date").value);
if (date >= endDate) { if (date > endDate) {
app.alert("Das Startdatum muss vor dem Enddatum liegen."); app.alert("Das Startdatum muss vor dem Enddatum liegen.");
event.rc = false; event.rc = false;
} }
@ -169,7 +169,7 @@
} }
if (this.getField("pa-start-date").value != "JJJJ-MM") { if (this.getField("pa-start-date").value != "JJJJ-MM") {
var startDate = new Date(this.getField("pa-start-date").value); var startDate = new Date(this.getField("pa-start-date").value);
if (startDate >= date) { if (startDate > date) {
app.alert("Das Enddatum muss nach dem Startdatum liegen."); app.alert("Das Enddatum muss nach dem Startdatum liegen.");
event.rc = false; event.rc = false;
} }

View File

@ -32,7 +32,7 @@ pdfs:
git checkout $(VERSION)/VGL git checkout $(VERSION)/VGL
make compile make compile
cp $(PDF_TARGET) $(OUT_DIR)/$(VERSION)_VGL.pdf cp $(PDF_TARGET) $(OUT_DIR)/$(VERSION)_VGL.pdf
git checkout $(VERSION) git checkout master
compile: compile:
# If not Exists, create 'Build' directory # If not Exists, create 'Build' directory