OK. I understand. Good to know that gretl is doing well.
It is interesting that in this url the calendar for Spain in 1700 is 
different from the US calendar.
I assume the "cal" code maybe is doing some adjustments also for some 
days in 1756 (and also some other years in the XVIII century). In 
particular the gretl function 'weekday' produces negative values for 
some days in may 1756 (they should be values only from 0(sunday) to 
6(saturday)).
<script>
nulldata 1500
setobs 7 1755-01-01 --time-series
series d = weekday($obsmajor,$obsminor,$obsmicro)
</script>
El 16/02/17 a las 18:00, gretl-devel-request(a)lists.wfu.edu escribió:
 Gretl follows the unix "cal" program on this. In
lib/src/calendar.c:
 /* leap year -- account for gregorian reformation in 1752 */
 #define	leap_year(yr) \
   	((yr) <= 1752 ? !((yr) % 4) : \
   	(!((yr) % 4) && ((yr) % 100)) || !((yr) % 400))
 See also
 
https://www.timeanddate.com/calendar/index.html?year=1700 
-- 
Ignacio Díaz-Emparanza
Departamento de Economía Aplicada III (Econometría y Estadística)
Universidad del País Vasco - Euskalherriko Unibertsitatea, UPV/EHU
Tfno: (+34) 94 601 3732
http://www.ehu.eus/ea3