Skip to content

Commit

Permalink
Updated Time
Browse files Browse the repository at this point in the history
  • Loading branch information
Snooz82 committed Mar 1, 2024
1 parent b4998c9 commit 129e132
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 11 deletions.
2 changes: 1 addition & 1 deletion dist/css/app.8010fe66.css → dist/css/app.05d11664.css

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion dist/js/app.29f2ecbd.js

This file was deleted.

1 change: 1 addition & 0 deletions dist/js/app.bfcccbf7.js

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "dist/404.html"
},
{
"revision": "889b67409440730d960f",
"url": "dist/css/app.8010fe66.css"
"revision": "e8c5662587e2eea7f93c",
"url": "dist/css/app.05d11664.css"
},
{
"revision": "27679e61bfd27e1093f4bf200900b8e7",
Expand Down Expand Up @@ -188,12 +188,12 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "dist/img/ticket-depth.jpg"
},
{
"revision": "c9a6e0e5a4bde3a1b3df65d345057d54",
"revision": "0fe99ad05cf4b6a04574b51c63848bda",
"url": "dist/index.html"
},
{
"revision": "889b67409440730d960f",
"url": "dist/js/app.29f2ecbd.js"
"revision": "e8c5662587e2eea7f93c",
"url": "dist/js/app.bfcccbf7.js"
},
{
"revision": "2de2678cc504999db100",
Expand Down
2 changes: 1 addition & 1 deletion dist/service-worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js");

importScripts(
"dist/precache-manifest.087f7378b9beb00d9162add7e68ff97e.js"
"dist/precache-manifest.e4d0307e84cb39da024a15bd1fa62336.js"
);

workbox.core.setCacheNameDetails({prefix: "robot-framework"});
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@
l.pathname.slice(0, -1) + decoded + l.hash
);
}
}(window.location))</script><link href="dist/css/app.8010fe66.css" rel="preload" as="style"><link href="dist/js/app.29f2ecbd.js" rel="preload" as="script"><link href="dist/js/chunk-vendors.626679d7.js" rel="preload" as="script"><link href="dist/css/app.8010fe66.css" rel="stylesheet"><link rel="icon" type="image/png" sizes="32x32" href="dist/img/icons/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="dist/img/icons/favicon-16x16.png"><link rel="manifest" href="dist/manifest.json"><meta name="theme-color" content="#4DBA87"><meta name="apple-mobile-web-app-capable" content="no"><meta name="apple-mobile-web-app-status-bar-style" content="default"><meta name="apple-mobile-web-app-title" content="robot-framework"><link rel="apple-touch-icon" href="dist/img/icons/apple-touch-icon-152x152.png"><link rel="mask-icon" href="dist/img/icons/safari-pinned-tab.svg" color="#4DBA87"><meta name="msapplication-TileImage" content="dist/img/icons/msapplication-icon-144x144.png"><meta name="msapplication-TileColor" content="#000000"></head><body><noscript><strong>We're sorry but robot-framework doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="dist/js/chunk-vendors.626679d7.js"></script><script src="dist/js/app.29f2ecbd.js"></script></body></html>
}(window.location))</script><link href="dist/css/app.05d11664.css" rel="preload" as="style"><link href="dist/js/app.bfcccbf7.js" rel="preload" as="script"><link href="dist/js/chunk-vendors.626679d7.js" rel="preload" as="script"><link href="dist/css/app.05d11664.css" rel="stylesheet"><link rel="icon" type="image/png" sizes="32x32" href="dist/img/icons/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="dist/img/icons/favicon-16x16.png"><link rel="manifest" href="dist/manifest.json"><meta name="theme-color" content="#4DBA87"><meta name="apple-mobile-web-app-capable" content="no"><meta name="apple-mobile-web-app-status-bar-style" content="default"><meta name="apple-mobile-web-app-title" content="robot-framework"><link rel="apple-touch-icon" href="dist/img/icons/apple-touch-icon-152x152.png"><link rel="mask-icon" href="dist/img/icons/safari-pinned-tab.svg" color="#4DBA87"><meta name="msapplication-TileImage" content="dist/img/icons/msapplication-icon-144x144.png"><meta name="msapplication-TileColor" content="#000000"></head><body><noscript><strong>We're sorry but robot-framework doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="dist/js/chunk-vendors.626679d7.js"></script><script src="dist/js/app.bfcccbf7.js"></script></body></html>
15 changes: 13 additions & 2 deletions src/views/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,12 @@
<page-section title-id="intro" :title="$t('home.intro.title')">
<h2>Community Day March 1st 11 UTC</h2>
<p>
Come and join us for the RoboCon 2024 Online Community Day<br>
<b>March 1st at 11 UTC</b>.<br>
Come and join us for the RoboCon 2024 Online Community Day.
</p>
<p>
<b>🗓️ March 1st at {{ getShownTime('2024-03-01T11:00:00+00:00') }} ({{Intl.DateTimeFormat().resolvedOptions().timeZone}})</b>.
</p>
<p>
Anyone from the community can join!<br>
The Community Day is run in the spirit of open space, where you, the participants, create the agenda.
</p>
Expand Down Expand Up @@ -278,6 +282,13 @@ nRPuT57RDafiyxjektPLx0z2LvRZZb7lU5G9/+rO2yJ1f65Sd5k0drIb48YZ+OBj
})
},
methods: {
getShownTime(time) {
const date = new Date(time)
const hours = date.getHours()
let minutes = date.getMinutes()
if (`${minutes}`.length === 1) minutes = `0${minutes}`
return `${hours}:${minutes === 0 ? '00' : minutes}`
},
goTo(id) {
const el = document.getElementById(id)
if (el) {
Expand Down

0 comments on commit 129e132

Please sign in to comment.