eXistSolutions / LGPN

1 stars 0 forks source link

date reduction on decade/century border #300

Closed tuurma closed 3 years ago

tuurma commented 3 years ago

I have noted some problems with the reduction of dates we requested from the pattern e.g. 241-242 to 241/2.

Where a date crosses a decade it produces an erroneous result. So 249-250 is reduced to 249/0, when the desired result is of course 249/50. The same principle would of course apply when the date straddles a century, e.g. 299-300 reduces to 299/0 instead of 299/300.

tuurma commented 3 years ago

Fixed, e.g. Σαμουήλ

image