•  
      story #14828 display dates with both absolute and relative dates
    Summary
    Empty
    display dates with both absolute and relative dates

    For all quality / process documentation related we must comply to IS0 9001.
    We have defined that all documentation should be updated every 4 years. But information "4 years ago" doesn't say if its january or december.
    Many users don't have the information and are tool familiar to guess that the date is available if the mouse stay in the information 5 years ago.

    Overview

    The targeted rendering can be see on codepen.

    It comes with a new user preference where one can choose:

    • Absolute date (relative is in the :hover)
    • Relative date (absolute is in the :hover)
    • Absolute first (relative is in small on top or next when inline)
    • Relative first (absolute is in small on top or next when inline)

    In this first step, this new user preference is used where relative dates are used:

    • In Tracker (artifact views, modal, table renders, card fields, tooltip cross references)
    • In Agile Dashboard
      • Planning modal only (cardwall and homepage modal is excluded)
    • In Document
    • In legacy docman

    The site administrator has a way to define what is the platform default as well as reset all user preferences.

    Pitfalls and limitations

    As of today, it's not clear if this preference should be applied to all display of dates like:

    1962-image-20200423163731-1.png

    1963-image-20200423163748-2.png

    1964-image-20200423163801-3.png

    Empty
    Status
    Done
    Development
    • [ ] Does it involves User Interface? 
    • [ ] Are there any mockups?
    • [ ] Are permissions checked?
    • [ ] Does it need Javascript development?
    • [ ] Does it need a forge upgrade bucket?
    • [ ] Does it need to execute things in system events?
    • [ ] Does it impact project creation (templates)?
    • [ ] Is it exploratory?
    Empty
    Details
    #14828
    Manuel Vacelet (vaceletm)
    2020-08-13 11:38
    2020-04-23 14:51
    3664

    References
    Referencing story #14828

    Artifact Tracker v5

    Git commit

    tuleap/tuleap/stable

    Follow-ups