From 616e71270df5879b754f007eb3ad019588fcad74 Mon Sep 17 00:00:00 2001 From: bert hubert Date: Tue, 3 Aug 2021 00:00:10 +0200 Subject: [PATCH] make gndate do BeiDou week numbers etc --- gndate.cc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/gndate.cc b/gndate.cc index 662c397..b027d95 100644 --- a/gndate.cc +++ b/gndate.cc @@ -14,7 +14,7 @@ try string date; int galwn{-1}; bool doProgOutput{false}; - bool doGPSWN{false}, doGALWN{false}, doVERSION{false}, doUTC{false}; + bool doGPSWN{false}, doGALWN{false}, doBEIDOUWN{false}, doVERSION{false}, doUTC{false}; app.add_flag("--version", doVERSION, "show program version and copyright"); app.add_option("--date,-d", date, "yyyy-mm-dd hh:mm[:ss] hh:mm yyyymmdd hhmm"); app.add_option("--date-gal-wn", galwn, "Give data for this Galileo week number"); @@ -62,11 +62,18 @@ try getGalDateFromUTC(now, wn, tow); cout<