ExLibrisGroup / SpineOMatic

Spine label printing for Ex Libris' Alma
MIT License
36 stars 18 forks source link

Allow user to limit # of characters to 10 or more #23

Closed ohsospoko closed 3 years ago

ohsospoko commented 3 years ago

I was excited to see the new feature in 8.1.0 allowing the user to limit the number of characters from a field. Sadly, the field I'm trying to limit is a date, so I need 10 characters from it ('YYYY-MM-DD'). When I put "10" before the field name, it gets read as a "1". I can limit to 9 characters, which is frustratingly close to what I need. Any way to get that 10th character?

mgobat commented 3 years ago

Nice to see someone using this new feature! Its original intent was to limit the number of characters from1 to 9. I see that this is too limiting for your needs. So, its kind of a bug, kind of an enhancement. Let me see what I can do.

mgobat commented 3 years ago

Added code to support specifying more than 9 characters to include for an element. In next release.