FormatWith currently handles only format strings {name:formatString}, but there's an optional alignment section {name,alignmentValue:formatString} that should be handled. I've started by adding a test and some test values in pull 35 (https://github.com/crozone/FormatWith/pull/35), along with a description of what needs to happen in the parsing to allow for it.
For example: for a date variable named 'test', to format it yyyy-MM-dd and left-pad it to 15 characters, the tag should read: {test,15:yyyy-MM-dd}, and the standard format string would be {0,15:yyyy-MM-dd}. To right-pad it, use a negative number.
FormatWith currently handles only format strings {name:formatString}, but there's an optional alignment section {name,alignmentValue:formatString} that should be handled. I've started by adding a test and some test values in pull 35 (https://github.com/crozone/FormatWith/pull/35), along with a description of what needs to happen in the parsing to allow for it.
For example: for a date variable named 'test', to format it yyyy-MM-dd and left-pad it to 15 characters, the tag should read: {test,15:yyyy-MM-dd}, and the standard format string would be {0,15:yyyy-MM-dd}. To right-pad it, use a negative number.