We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7b46ab commit 8a90d46Copy full SHA for 8a90d46
src/services/format/format_date.test.ts
@@ -160,5 +160,5 @@ function formatTimezoneOffset(offset: number) {
160
offset = Math.abs(offset);
161
const hrs = Math.floor(offset / 60);
162
const mins = offset - hrs * 60;
163
- return `${sign}${hrs < 9 ? '0' : ''}${hrs}:${mins < 9 ? '0' : ''}${mins}`;
+ return `${sign}${hrs <= 9 ? '0' : ''}${hrs}:${mins <= 9 ? '0' : ''}${mins}`;
164
}
0 commit comments