⚖ Compare news

Put up to three stories side by side. Pick IDs from any article URL: /compare?id=123&id=456

День — это не 24 часа, а дата — это не момент времени

habrahabr.ru ·Russian Federation · world
Words
32
Chars
196
AI summary
Yes
Full story

At 10 a.m. on January 29, with a deadline set for the 30th, an app showed zero days even though two remained. The article examines why .inDays rounds down. It also asks why calendar days need UTC and why a sliding window has no formula.

В 10 утра 29 января при дедлайне 30-го приложение показывало ноль дней. Их было два. Почему .inDays округляет вниз, зачем календарным дням UTC и почему у скользящего окна нет формулы. Читать далее

Open article