summaryrefslogtreecommitdiff
path: root/app/Date.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2015-04-30 14:19:54 +0100
committerGreg Roach <fisharebest@gmail.com>2015-04-30 14:19:54 +0100
commit3506b2e5e893ff3107e131ebfaec539230d9bf29 (patch)
tree9e0e7fc419dceb7e168929437783d29761009406 /app/Date.php
parent31b17243c95f859420e8edbc15887726740850b3 (diff)
downloadwebtrees-3506b2e5e893ff3107e131ebfaec539230d9bf29.tar.gz
webtrees-3506b2e5e893ff3107e131ebfaec539230d9bf29.tar.bz2
webtrees-3506b2e5e893ff3107e131ebfaec539230d9bf29.zip
Fix #572 - FROM dates
Diffstat (limited to 'app/Date.php')
-rw-r--r--app/Date.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Date.php b/app/Date.php
index 00f75a50f1..bd5856dbda 100644
--- a/app/Date.php
+++ b/app/Date.php
@@ -80,7 +80,7 @@ class Date {
$this->date1 = $this->parseDate($match[2]);
$this->qual2 = $match[3];
$this->date2 = $this->parseDate($match[4]);
- } elseif (preg_match('/^(TO|BEF|AFT|CAL|EST|INT|ABT) (.+)/', $date, $match)) {
+ } elseif (preg_match('/^(TO|FROM|BEF|AFT|CAL|EST|INT|ABT) (.+)/', $date, $match)) {
$this->qual1 = $match[1];
$this->date1 = $this->parseDate($match[2]);
} else {