Martin Loxbo Posted February 21, 2008 at 10:04 PM Posted February 21, 2008 at 10:04 PM It seems that vRoute doesn't recognize that 2008 is a leap year and that there is actually a February 29! In the event calendar there is Thursday 28 February, and the next day is Saturday 1 March - Friday has disappeared. Is it possible to fix this as we are planning an event in Stockholm on the leap day? Martin Loxbo Director Sweden FIR VATSIM Scandinavia Link to comment Share on other sites More sharing options...
Michal Rok Posted February 22, 2008 at 05:35 AM Posted February 22, 2008 at 05:35 AM Indeed the number of days per month was fixed and I did not remember that 2008 is a leap year. I increased it to 29 and I must roll it back to 28 before 2009. To forcefully refresh the application, go into events calendar and press F5. I'm leaving now for a week of vacation, so please submit any events ASAP, ideally before 0830Z. Michal vroute.net founder Link to comment Share on other sites More sharing options...
Martin Loxbo Posted February 22, 2008 at 09:06 AM Author Posted February 22, 2008 at 09:06 AM Hi Michal, I'm able to upload at the earliest this evening. Does this mean that the event won't be published in time? Martin Loxbo Director Sweden FIR VATSIM Scandinavia Link to comment Share on other sites More sharing options...
Michal Rok Posted March 2, 2008 at 09:53 AM Posted March 2, 2008 at 09:53 AM Correct. Sorry I couldn't help. Michal vroute.net founder Link to comment Share on other sites More sharing options...
Nikita Kapko 1015297 Posted February 28, 2012 at 12:15 PM Posted February 28, 2012 at 12:15 PM In 2012 the leap day is still missing! Must use another booking source. Can you correct it for all next years at once? Link to comment Share on other sites More sharing options...
Richard Gerrish Posted February 28, 2012 at 01:26 PM Posted February 28, 2012 at 01:26 PM interesting i can book a flight for the 29th but not ATC Richard Gerrish Developer, STM Applications Group Link to comment Share on other sites More sharing options...
Michal Rok Posted February 28, 2012 at 10:33 PM Posted February 28, 2012 at 10:33 PM interesting i can book a flight for the 29th but not ATC thats because - as you can see - it's a totally different calendar. It does not even look similar. Back in 2008 when I just manually updated the calendar for leap year I though "well, no way this code would be still alive in 2012!". I see I was wrong. I have now updated the code so that it will run properly until 2096 (will be wrong in 2100 as it is not a leap year). Sorry for the problem. Michal vroute.net founder Link to comment Share on other sites More sharing options...
Richard Gerrish Posted February 29, 2012 at 09:30 AM Posted February 29, 2012 at 09:30 AM thats because - as you can see - it's a totally different calendar. It does not even look similar. Hadn't even bothered to look that closely....thank you for the update and VRoute is still the best money i've spent on this hobby in a very long time Richard Gerrish Developer, STM Applications Group Link to comment Share on other sites More sharing options...
Johan Grauers Posted February 29, 2012 at 03:46 PM Posted February 29, 2012 at 03:46 PM interesting i can book a flight for the 29th but not ATC thats because - as you can see - it's a totally different calendar. It does not even look similar. Back in 2008 when I just manually updated the calendar for leap year I though "well, no way this code would be still alive in 2012!". I see I was wrong. I have now updated the code so that it will run properly until 2096 (will be wrong in 2100 as it is not a leap year). Sorry for the problem. Michal We'll be referring back to this post 2100 then when it doesn't work? Johan Grauers Event Coordinator - vACC Scandinavia Link to comment Share on other sites More sharing options...
Michal Rok Posted February 29, 2012 at 04:35 PM Posted February 29, 2012 at 04:35 PM That will be your problem, not mine . I'd be 120-something y.o. by then and I'm sure I'll already forget what javascript was like... Michal vroute.net founder Link to comment Share on other sites More sharing options...
Marc Wheeler Posted February 29, 2012 at 05:26 PM Posted February 29, 2012 at 05:26 PM That will be your problem, not mine . I'd be 120-something y.o. by then and I'm sure I'll already forget what javascript was like...Michal and vRoute will be vGalaxy. VATSIM: P1|C3 Link to comment Share on other sites More sharing options...
Recommended Posts