small improvements to due date and css
All checks were successful
the build was successful

This commit is contained in:
kolaente 2018-11-25 21:58:16 +01:00
parent ba2ff56fda
commit d94aafdf57
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
2 changed files with 6 additions and 2 deletions

View File

@ -167,7 +167,11 @@
// Make date objects from timestamps
for (const t in response.data.tasks) {
let dueDate = new Date(response.data.tasks[t].dueDate * 1000)
response.data.tasks[t].dueDate = dueDate
if (dueDate === 0) {
response.data.tasks[t].dueDate = null
} else {
response.data.tasks[t].dueDate = dueDate
}
for (const rd in response.data.tasks[t].reminderDates) {
response.data.tasks[t].reminderDates[rd] = new Date(response.data.tasks[t].reminderDates[rd] * 1000)

View File

@ -133,7 +133,7 @@ h1,h2,h3,h4,h5,h6{
}
input {
width: 95%;
width: 90%;
border: none;
&:focus {