Jack Sparrow does not turn into a skeleton at night. The misconception stems from the Pirates of the Caribbean theme park ride's skeletal audio-animatronics.
Actual lore: The Aztec gold curse caused his flesh to rot away permanently, leaving a skeletal appearance at all times—not just after dark. The ride's designers used classic "skeleton pirate" imagery, which inspired the film's cursed look.