Advanced Pack 3.7.0 and 3.6.3 and 3.6.2

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • macistda
    Member
    • Jul 2022
    • 83

    Advanced Pack 3.7.0 and 3.6.3 and 3.6.2

    There is a difference in the display of datetime between reports and masks for sendDate in email entities. Can this be changed back to the old display for the reports? Espo_1 the "new" one for reports. "Espo_2" the "old" one for masks.
    Attached Files
  • yuri
    Member
    • Mar 2014
    • 8667

    #2
    I tried v3.5.7, and it's displayed the way it is on your left screenshot. I don't know of any changes in advanced pack that could affect this.
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    • item
      Active Community Member
      • Mar 2017
      • 1500

      #3
      Hi Yuri,
      maybe a step to reproduce : (if i understand)

      - create a list report to Child => report based Entity
      - Parent entity (one2many) Child Entity => report based entity
      - put in report : parent.dateStart and dateStart. (for the report entity)

      Look print-screen.
      First dbegin is from parent ..
      second dbegin is the report based entity.
      all dateTime format for me is "Y-m-d" (field => parent.dbegin and field => dbegin and preference too)

      Advanced Pack is
      3.6.2. i have not updated still now
      Best Regards
      Attached Files
      Last edited by item; 02-17-2025, 06:11 PM.
      If you could give the project a star on GitHub. EspoCrm believe our work truly deserves more recognition. Thanks.​

      Comment


      • yuri
        yuri commented
        Editing a comment
        I think it's because you have the numeric format parameter enabled in the field. It does not work for foreign fields.

      • item
        item commented
        Editing a comment
        Yes.. numeric format is enabled. Good to know the format not work for foreign fields
        Sorry for this topic

      • yuri
        yuri commented
        Editing a comment
        It does not work only for report foreign fields (which are not real foreign). In future, I think, it will work.
    • macistda
      Member
      • Jul 2022
      • 83

      #4
      It's the Standard-Field I talk about, Entity E-Mail, "dateSent", Type "Datum-Uhrzeit" (Date-Time). Maybe the change has been made within 8.4.2 --> 9.x Espo. I've restored Version 8.4.0 (with advanced pack 3.3.1) from backup and checked (see screenshot, that's the same report).
      If I guess there have been changes in function "toDisplay(string)" in e.g. /var/www/crm/client/src/date-time.js:255 or var/www/crm/client/src/email-helper.js:343
      Attached Files

      Comment

      • macistda
        Member
        • Jul 2022
        • 83

        #5
        yuri sorry, it's not the advanced pack, it must have been made by the update 8.4.2 --> 9.x. It's difference as written in first post. But you only see if you have advanced pack because it seems to be only by reports.

        Comment

        Working...