How to use Japanese "たんだ"?

たんだ is a verb past tense, and たんだ, んだ and のだ all indicate a conclusion or explanation.

Let's take Post Bar, そんなにししてたんだ and そんな as examples. This sentence is usually used when expectations fail. Expectation happened in the past, so here is the past tense. た is the past tense, and adding んだ will make you feel more feminine or more disappointed and pitiful.