snipy Posted May 2, 2021 Share Posted May 2, 2021 Maybe reported, but couldn't find in search as date and time are too general, but date on DED seems to be backwards for days. Image attached, showing 06/41/16. It should be 06/14/16, as there aren't 41 days in a month. Also, for logbook, does it use UTC time? Because I'm flying a 06:00 mission on Caucus on 06/14 (or 41)/16 and it is logging it as night flight hours. Link to comment Share on other sites More sharing options...
Florence201 Posted May 2, 2021 Share Posted May 2, 2021 If you jump in a jet and the NWS needs brightness adjustment to see, then DCS classes it as night. [sIGPIC][/sIGPIC] Link to comment Share on other sites More sharing options...
snipy Posted May 2, 2021 Author Share Posted May 2, 2021 20 minutes ago, Florence201 said: If you jump in a jet and the NWS needs brightness adjustment to see, then DCS classes it as night. I can't say otherwise, but that seems very arbitrary, and a "rule of thumb" concept someone came up with to explain log book timing. Imagine if you were tasked to write a method that returns a boolean value as to whether the logbook should record time as night (true) or not (false). Doing so based on a "brightness setting" would be rather finicky and difficult, but instead, suppose you wrote it like this: bool Logbook::IsNight(time_t currentTime, time_t sunrise, time_t sunset) { if (currentTime >= sunRise && curentTime < sunset) return false; return true; } Now, if you passed in currentTime as UTC, then you could mistakenly classify it as night, even though it is day. Writing a function based on time seems a lot simpler design, but one that could be easily messed up, than doing so based on whether NWS needs an adjustment to brightness. Link to comment Share on other sites More sharing options...
Florence201 Posted May 2, 2021 Share Posted May 2, 2021 Didn’t say it was correct, I said it was how ED do it. [sIGPIC][/sIGPIC] Link to comment Share on other sites More sharing options...
snipy Posted May 2, 2021 Author Share Posted May 2, 2021 I very much doubt there is a bit of code running that is determining night based on brightness settings. That seems like a life hack someone came up with to justify why their log book shows night and not. Which means, not ED... but, us. I'd bet the code uses time. And it's just got a bug in which time is sent over to determine if day or night. Link to comment Share on other sites More sharing options...
Florence201 Posted May 2, 2021 Share Posted May 2, 2021 You’ve misunderstood. I said if you find that you need to adjust the settings, it’s because DCS sayings it’s night. Not that the brightness determines it [sIGPIC][/sIGPIC] Link to comment Share on other sites More sharing options...
snipy Posted May 2, 2021 Author Share Posted May 2, 2021 12 minutes ago, Florence201 said: You’ve misunderstood. I said if you find that you need to adjust the settings, it’s because DCS sayings it’s night. Not that the brightness determines it Ahhh, yes. I did misunderstand. I already knew DCS considered it night, because the logbook logged the hours as night. What I'm interested in knowing is... why. FAA rules? Bug due to UTC? Link to comment Share on other sites More sharing options...
Florence201 Posted May 2, 2021 Share Posted May 2, 2021 (edited) Might be it takes the Zulu time in the pit as Day/Night but it should be mission time Edited May 2, 2021 by Florence201 [sIGPIC][/sIGPIC] Link to comment Share on other sites More sharing options...
snipy Posted May 2, 2021 Author Share Posted May 2, 2021 Something for me to play around with then, by creating some different missions and advancing time, and looking at the time on the DED, and sunrise on that particular date, etc. Thanks for the help. 1 Link to comment Share on other sites More sharing options...
Rubberduck85 Posted May 3, 2021 Share Posted May 3, 2021 So June 41st is "correct as is"? Is the calendar based on Mars revolution around the sun?RegardsSent from my MI 10 Lite 5G using Tapatalk 2 Link to comment Share on other sites More sharing options...
Florence201 Posted May 3, 2021 Share Posted May 3, 2021 @BIGNEWY this cannot be correct as is when the post showing a day of 41 [sIGPIC][/sIGPIC] Link to comment Share on other sites More sharing options...
ED Team BIGNEWY Posted May 3, 2021 ED Team Share Posted May 3, 2021 Sorry misunderstood the problem. will report thanks Forum rules - DCS Crashing? Try this first - Cleanup and Repair - Discord BIGNEWY#8703 - Youtube - Patch Status Windows 11, NVIDIA MSI RTX 3090, Intel® i9-10900K 3.70GHz, 5.30GHz Turbo, Corsair Hydro Series H150i Pro, 64GB DDR @3200, ASUS ROG Strix Z490-F Gaming, HP Reverb G2 Link to comment Share on other sites More sharing options...
Recommended Posts