Commit 470207c1 authored by PurkkaKoodari's avatar PurkkaKoodari

Release version 0.4.4: fix typo that occurred due to coding on Monday night

parent 4361d59b
{
"name": "oodiplusplus",
"version": "0.4.3",
"version": "0.4.4",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
......
{
"name": "oodiplusplus",
"version": "0.4.3",
"version": "0.4.4",
"description": "Efficiently plan your timetable right in Oodi and export it to your calendar.",
"private": true,
"dependencies": {
......
......@@ -44,7 +44,7 @@ export const timeOfDay = (date: Date) => (date.getTime() - date.getTimezoneOffse
/** The start of the current week's Monday at the time of page load. */
export const thisMonday = new Date()
thisMonday.setTime(thisMonday.getTime() - timeOfDay(thisMonday))
while (thisMonday.getDay() != 1) thisMonday.setDate(thisMonday.getDate() + 1)
while (thisMonday.getDay() != 1) thisMonday.setDate(thisMonday.getDate() - 1)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment