The difference is, Cape Town is not in war time. I can't think of the last time there was literal war in Cape Town, there's nothing in recent times. My best guess would be "a small but significant military engagement" on 8 January 1806 (1).
Unrest in the late 1980s doesn't count.
As far as I know, there were no military engagements in Cape Town during the Anglo-Boer wars (1880 - 1881 and 1899 – 1902).