Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-2912

Active visit portlet on dashboard should show date + time in a prettier way

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Non-Essential
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: OpenMRS 1.9.0
    • Component/s: None
    • Labels:
    • Complexity:
      Low

      Description

      On the "Active Visit" portlet towards the top of the page, if the start date is today or yesterday, then instead of showing the date as "dd/mm/yyyy", it should instead say "Today hh:mm" or "Yesterday hh:mm". Older dates should be "dd/mm/yyyy hh:mm". (Obviously, use the current date/time format for dmy vs mdy, and for am/pm vs 24-hour time.)

      Add this as a feature to the openmrs:formatDate tag.

        Gliffy Diagrams

          Attachments

            Attachments-Category-Modification

              Activity

                People

                • Assignee:
                  wyclif Wyclif Luyima
                  Reporter:
                  darius Darius Jazayeri
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: