Can I replace a fan timer with one having duration options beyond one hour?
If this is a standard fan (i.e. no smart switch), Intermatic does make a 12-hour mechanical timer (no neutral required). If you want a programmable switch, you'll need a neutral wire in your switch box.