Skip to content

Display year in timing diagrams using time and date #1020

@vpoulailleau

Description

@vpoulailleau

I haven't found in the documentation how to customize the display of the time axis. I want to display year instead of month/day. Is there any way to do so?

Currently my diagram is useless:

@startuml
scale 31536000 as 50 pixels

concise "OpenGL Desktop" as OD

@1992/01/01
OD is {hidden}

@1992/06/30
OD is 1.0

@1997/03/04
OD is 1.1

@1998/03/16
OD is 1.2

@2001/08/14
OD is 1.3

@2004/09/07
OD is 3.0

@2008/08/01
OD is 3.0

@2017/07/31
OD is 4.6

@enduml

opengl_versions

BTW I had problem configuring the scale, but I tried with the unit being seconds and it worked, that may be reflected in the document.

And also, thanks very much for plantuml, I've been a user for years.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions