The indoor electric lap which was invented during the second industrial revolution (which you've mentioned) enabled people to be awake much longer at a good light source, they were able to read, to communicate or to do anything they desired. This of course had a dramatic affect how people were socializing at night :)