The Last Samurai
In The Last Samurai, a story that begins in 1876, you can see a close-up of the flags of the US. During the period from 1867 to 1877, there were really 37 stars on the American flag. But in other shots of the movie, there are flags with way more stars, which would have been true for the later period of the US (but no earlier than 1890).