 DATE: When Ted is in the grocery store near the beginning of the  movie, we see a cap gun on the racks. The gun has an orange cap on  the end of the barrel, a safety feature not introduced until the  late 80s.