Fix improper week number transition and leap second handling
Fix improper week number transition and leap second handling

MohammadSecure/GPS-SDR-SIM,andrmarkv/gps-sdr-sim,osqzss/gps-sdr-sim,andrmarkv/gps-sdr-sim,MohammadSecure/GPS-SDR-SIM,andrmarkv/gps-sdr-sim,osqzss/gps-sdr-sim