I think the terminology is pretty confusing, but as I understand it, astronomers use Julian Day numbers [1], which is not really using the Julian calendar - it's really no calendar at all, just a continuous count of days, so you don't need to think at all about the definition of leap days or leap years (until you want to convert back to a human-understandable form). "Julian" coming from how they choose the reference point in the Julian Calendar.