Fix date menu calc