GithubHelp home page GithubHelp logo

Comments (5)

respencer avatar respencer commented on July 30, 2024

We'll need screenshots please, as what you are reporting does not add up.

There is another PDF report (ChurchCRM/Reports/PDF_Directory.php), but it does not use long date format.

Reports/ConfirmReport.php doesn't seems to have anything to do with this.

And DirectoryReports.php uses Reports/DirectoryReport.php, but the later has no code to print out wedding dates even though that setting is available in the former.

from crm.

markginter31 avatar markginter31 commented on July 30, 2024

I had searched (very) quickly in old wedding date issues and saw ConfirmReport.php mentioned.

localization settings

Those are my localization settings

wrong date format

The wedding date is day/month/year, the birthdays are month/day/year

from crm.

respencer avatar respencer commented on July 30, 2024

Okay, that is some weird settings you have there -- with possible multiple bugs in tow.

The wedding date is using the short date format:

j - month with no leading zero
m - month with a leading zero
y - 2 digit year

They're legitimate date format strings, but don't make sense together.

What you actually want is the long date format for the wedding date.

I'll try to push a commit for that change later today.

from crm.

markginter31 avatar markginter31 commented on July 30, 2024

I'm pretty clueless. I never hand edited that and I'm not sure why they are the way they are.
I changed the sDateFormatShort to m/d/y and it appears to be working.

from crm.

respencer avatar respencer commented on July 30, 2024

I'm pretty clueless. I never hand edited that and I'm not sure why they are the way they are. I changed the sDateFormatShort to m/d/y and it appears to be working.

That's not on you, for some reason that has been the default system setting for a long time.

Once my fix is accepted the wedding date will have exactly the same formatting as the rest of the dates in the PDF.

from crm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.