Special variables no more working with last beta

0 votes
asked Apr 24, 2019 in Bug by Serge Wenger Work (15,770 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, 2019 by plantuml (295,800 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, 2019 by Serge Wenger Work (15,770 points)
Thanks for the answer. I will try to do some tests, but I have a lot of "production" code
...