gs1/gs1-syntax-dictionary

Replace mmoptss

Opened this issue · 5 comments

Similarly to #9, the mmoptss option causes problems for structural validators; the value "123" would be perfectly legitimate. I suggest instead replacing "[N..4]mmoptss" with "[N2]mm [N2]ss" to better reflect the requirement.

8008 ? N8,yymmddhh [N..4],mmoptss req=01,02 # PROD TIME

Already in progress. Refer to details sent under separate cover. Thanks.

Done with 0489efc

@terryburton It may be better to replace "mm" with "mi" when referring to minutes. It's unlikely, but should there ever be an AI that is the month number only we would have a conflict. This would also mean replacing "hhmm" with "hhmi".

@KDean-Dolphin I'll look around to see if there's a reasonable standard that we might follow.

I've run across MM vs. MI most commonly in SQL. I'm not sure if it's part of the ISO standard (that's just part 1), but it's a common distinction where format strings are case- and context-insensitive.