We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8318f5b commit b6e72f5Copy full SHA for b6e72f5
examples/with-mobx/components/Clock.js
@@ -19,6 +19,6 @@ export default (props) => {
19
)
20
}
21
22
-const format = t => `${pad(t.getHours())}:${pad(t.getMinutes())}:${pad(t.getSeconds())}`
+const format = t => `${pad(t.getUTCHours())}:${pad(t.getUTCMinutes())}:${pad(t.getUTCSeconds())}`
23
24
const pad = n => n < 10 ? `0${n}` : n
examples/with-redux/components/Clock.js
@@ -19,6 +19,6 @@ export default ({ lastUpdate, light }) => {
0 commit comments