The film depicts the 54th Massachusetts Volunteer Infantry training through the Christmas holidays of presumably 1862 (after the September 1862 Battle of Antietam), but the real 54th Massachusetts did not organize until March 1863, and were engaged in their first battle on James Island, South Carolina on 16 July 1863, and then Battery Wagner (the final battle in the film) on 18 July 1863.
more