U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ Core » Latest leap second missing from GetLeapSeconds()
Latest leap second missing from GetLeapSeconds() [message #59695] Thu, 09 March 2023 12:53 Go to next message
Tom1
Messages: 1319
Registered: March 2007
Ultimate Contributor
Hi,

It seems the latest leap second is missing from GetLeapSeconds(Date dt) in TimeDate.cpp. It was applied on December 31, 2016, but is missing here.

(Actually I'm looking for a way to deal with GPS time vs. UTC time, so this function will come in handy.)

Best regards,

Tom
Re: Latest leap second missing from GetLeapSeconds() [message #59696 is a reply to message #59695] Thu, 09 March 2023 14:45 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
Tom1 wrote on Thu, 09 March 2023 12:53
Hi,

It seems the latest leap second is missing from GetLeapSeconds(Date dt) in TimeDate.cpp. It was applied on December 31, 2016, but is missing here.

(Actually I'm looking for a way to deal with GPS time vs. UTC time, so this function will come in handy.)

Best regards,

Tom


Hopefully fixed. { 2016, 12 }, correct?

Mirek
Re: Latest leap second missing from GetLeapSeconds() [message #59697 is a reply to message #59696] Thu, 09 March 2023 14:52 Go to previous message
Tom1
Messages: 1319
Registered: March 2007
Ultimate Contributor
Mirek,

Thanks for the quick fix. Yes, { 2016, 12 } looks right! Smile

Best regards,

Tom
Previous Topic: odd behavior with SaveFile
Next Topic: DropList STDFONT size changing after Drawn on screen
Goto Forum:
  


Current Time: Tue Sep 29 01:07:24 GMT+2 2026

Total time taken to generate the page: 0.00657 seconds