BERLIN — Germany’s biggest rail company, under fire for its unpunctual service, is trying to mollify one disgruntled commuter by buying her “delay scarf.”

Deutsche Bahn, which on Thursday announced plans to hire 22,000 more staff, bought the hand-made scarf in an online auction for 7,550 euros ($8,600). The money is being donated to a charity for the homeless.

According to her daughter, journalist Sara Weber, the Munich commuter had knitted the grey, pink and red scarf last year, with each color reflecting the amount of time her journey had been delayed.

Weber’s social media post about the scarf drew widespread attention this month after she post about it on Twitter, reflecting Deutsche Bahn customers’ frustration at the company’s persistent delays.

Her mother, Claudia Weber, 55, told the publication: “It’s not a statistic; it’s one year and how I felt about it. I understand the problems they’re having. There’s more and more commuters every year, but on the other hand I spend a lot of time waiting.”

Less than three-quarters of Deutsche Bahn’s long-distance trains arrived on time last year, debunking cultural assumptions about German punctuality.