Special variables no more working with last beta

0 votes
asked Apr 24 in Bug by Serge Wenger Work (11,340 points)

@startuml
Bob -> Alice : hello
Caption %date[yyyy.MM.dd 'at' HH:mm]% %filename%
@enduml

is no more working with version plantuml.1.2019.06Beta1 (OK with plantuml.1.2019.05)

1 Answer

0 votes
answered Apr 24 by plantuml (198,780 points)

We have enabled by default the preprocessor V2 with last beta (see http://plantuml.com/preprocessing-v2 )

There are some slight change with this version, so you have to use:

@startuml
Bob -> Alice : hello
Caption %date("yyyy.MM.dd 'at' HH:mm") %filename()
@enduml


This is still under test, so feedback is welcome!

commented Apr 25 by Serge Wenger Work (11,340 points)
Thanks for the answer. I will try to do some tests, but I have a lot of "production" code
...