Permalink
Browse files

Family Date Formats (#4408)

* Update FamilyView.php

* Update family-view.php
  • Loading branch information...
DawoudIO committed Aug 7, 2018
1 parent 1041956 commit ca0aec03fb52c178f666ce251ee37af5beae650d
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/FamilyView.php
  2. +1 −1 src/v2/templates/people/family-view.php
View
@@ -239,7 +239,7 @@ class="fa fa-<?= ($fam_SendNewsLetter == "TRUE" ? "check" : "times") ?>"></i></s
}
if (!SystemConfig::getValue("bHideWeddingDate") && $fam_WeddingDate != "") { /* Wedding Date can be hidden - General Settings */ ?>
<li><i class="fa-li fa fa-magic"></i><?= gettext("Wedding Date") ?>:
<span><?= FormatDate($fam_WeddingDate, false) ?></span></li>
<span><?= $family->getWeddingDate()->format(SystemConfig::getValue("sDateFormatLong")) ?></span></li>
<?php
}
if (SystemConfig::getValue("bUseDonationEnvelopes")) {
@@ -138,7 +138,7 @@ class="fa fa-<?= (!$family->getSendNewsletter() ? "check" : "times") ?>"></i></s
}
if (!SystemConfig::getBooleanValue("bHideWeddingDate") && !empty($family->getWeddingdate())) { /* Wedding Date can be hidden - General Settings */ ?>
<li><i class="fa-li fa fa-magic"></i><?= gettext("Wedding Date") ?>:
<span><?= FormatDate($family->getWeddingdate(), false) ?></span></li>
<span><?= $family->getWeddingDate()->format(SystemConfig::getValue("sDateFormatLong")) ?></span></li>
<?php
}
if (SystemConfig::getValue("bUseDonationEnvelopes")) {

0 comments on commit ca0aec0

Please sign in to comment.