Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-12245

AmetysFront.Utils.toMomentDate error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.9.0
    • None
    • None
    • None
    • 4.9.0 M3
    • Oui

      The display of "yesterday" is made on 24h duration... that is wrong

      If today is 2024-11-08 17:00:00 Z, toMomentDate("2024-11-06 18:00:00") display Yesterday because diff is >1 and <2

            raphael Raphaël Franchet
            raphael Raphaël Franchet
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: