A year earlier than 1300 is not accepted by FreeREG
Opened this issue · 7 comments
The earliest year that FreeREG will accept in a transcription is 1300. There are records that give earlier years so we should be able to enter them.
I won't get involved in coding FreeREG, but the relevant value (YEAR_MIN) is set in /lib/freereg_validations.rb. Presumably we need a minimum year for validation purposes: so what should it be, @SteveBiggs?
I seem to remember that we could enter even earlier than 1000. The problem was a leading zero. But it could have been in FR1.
Is it possibke to edit the entry after uploading without validation?
In what context do you hit this limit? When entering actual records? From an examination of the (Rails) code, YEAR_MIN is primarily used as a start point when calculating numbers for places, churches and registers.
Ideally, there would be no limit to the year but we certainly need to be able to go pre-1000. Maybe 0000 should be the limit (however, there are known records of births of Kings, etc. even BC!) I don't know why 1300 was chosen as a lower limit.
I tried editing a record on FreeREG and it does not allow any date before 1300.
@Captainkirkdawson do you have any ideas on this?