asteroidos / asteroid-calendar Goto Github PK
View Code? Open in Web Editor NEWDefault calendar app for AsteroidOS
License: GNU General Public License v3.0
Default calendar app for AsteroidOS
License: GNU General Public License v3.0
The month is off by one. Here's how to see the problem. First create this file satonly.ics
:
BEGIN:VCALENDAR
PRODID:-//K Desktop Environment//NONSGML libkcal 4.3//EN
VERSION:2.0
X-KDE-ICAL-IMPLEMENTATION-VERSION:1.0
BEGIN:VTIMEZONE
TZID:Europe/Helsinki
END:VTIMEZONE
BEGIN:VEVENT
DTSTAMP:20220722T171604Z
CREATED:20220722T171604Z
UID:2bd91a5d-be1c-4090-9a56-1d448513a1d2
LAST-MODIFIED:20220722T171604Z
DESCRIPTION:Event Description
SUMMARY:Sqx
LOCATION:Event Location
DTSTART;TZID=Europe/Helsinki:20220723T171500
DTEND;TZID=Europe/Helsinki:20220723T181500
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR
Then copy the file to the watch. Then, as the ceres
user, execute icalconverter import satonly.ics
. This should and does create an event titled "Sqx" on 22 July 2022 at 17:15 but the watch shows it on 22 June 2022 which is incorrect.
(It will also show the meeting at 20:15 rather than 17:15, but this is because Helsinki time is UTC+3 and the watch is set to UTC.)
Currently, it is necessary to click the month in order to bring up the month selector to change the current month.
This can be hard to discover as hinted at by user @Cambionn
Possible mitigations:
In the calendar/agenda app, in the month selector, a click on the button at the bottom does not return in the previous view. So it seems that the root.pop()
has no effect:
https://github.com/AsteroidOS/asteroid-calendar/blob/master/MonthSelector.qml#L118
But note that the selected date is taken into account when returning to the previous view with a "left-to-right" swipe after touching the button (no effect if the button is not touched).
This app has not been accepting the Spanish translation for a long time.
Also in this app there are other words that are not seen in the sheet * es.ts to translate or modify example: the days of the week,
thanks
Now that the import of calendar is working, when an appointment comes up, I get a rather uninformative alert:
Dismissing it does not seem to have an effect, so it keeps popping up alerts until the battery drains completely.
This occurs when the imported VEVENT
contains a VALARM
like this:
BEGIN:VALARM
TRIGGER:-PT15M
ACTION:DISPLAY
DESCRIPTION:Reminder
END:VALARM
The icalconverter
software comes from nemo-qml-plugin-calendar
which uses kcalendarcore
. Within that, there is alarm.cpp
and alarm.h
that appear to be responsible for handling this, but it's not clear to me how the linkage is made between that and our alarm presenter, which is part of https://github.com/AsteroidOS/asteroid-alarmclock
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.