Commit Graph

20041 Commits (bcf88c31f1a06ef8d4cc0c652714407a94369f07)

Author SHA1 Message Date
thomas bcf88c31f1 fix(agenda): all day event offsets, locale display
Currently, allDay events are off by one day for negative timezones. Per
the CalendarContract:

    If allDay is set to 1 eventTimezone must be "UTC" and the time must
    correspond to a midnight boundary.

For example, in GMT-2:00, an all day event on December 2nd (beginning at
00:00:00) will be wrongly displayed as starting on December 1st, since
the locale will determine that the event's start time is actually
22:00:00 on Dec 1.

Source:

https://developer.android.com/reference/android/provider/CalendarContract.Events.html

This commit:

* Corrects the offset back to UTC 00:00:00 for allDay events

* Fixes the conditional for single-day all day events in showEvent()

* Fixes the display of formatDateShort() for some English locales by
  also removing any trailing commas or whitespace when the year is
  removed
2024-12-16 17:30:34 -05:00
thyttan 7238266124
Merge pull request #3687 from espruino/dependabot/submodules/core-08dee6d
build(deps): bump core from `ea066f9` to `08dee6d`
2024-12-06 09:40:26 +01:00
dependabot[bot] 4415576d17
build(deps): bump core from `ea066f9` to `08dee6d`
Bumps [core](https://github.com/espruino/EspruinoAppLoaderCore) from `ea066f9` to `08dee6d`.
- [Commits](ea066f9ec6...08dee6d584)

---
updated-dependencies:
- dependency-name: core
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-06 00:18:18 +00:00
Rob Pilling 615ab14c74
Merge pull request #3681 from bobrippling/feat/widbtstates-opt
widbtstates: generate better js indexing
2024-12-03 22:27:33 +00:00
thyttan d24aefc846
Merge pull request #3684 from thyttan/dtlaunch
dtlaunch: info re settings in readme
2024-12-03 21:04:12 +01:00
thyttan b6d61d5d6a dtlaunch: info re settings in readme 2024-12-03 21:02:10 +01:00
Rob Pilling ab3944efda Generate typescript 2024-12-03 18:15:09 +00:00
Rob Pilling b01901c8b7
Merge pull request #3678 from cbkerr/andark-fastload-queue
andark: queue redraws and enable fastload
2024-12-03 12:17:57 +00:00
Rob Pilling 7a431011df widbtstates: generate better js indexing
with a slight typescript hack - avoid generating a new string when
we can use a boolean
2024-12-03 12:12:52 +00:00
Rob Pilling 22078e87cc
Merge pull request #3679 from gsuarezc/master
owmweather: Fix infinite loop when settings.updated is not defined
2024-11-30 19:42:00 +00:00
gsuarezc 9563658c4e owmweather: Fix infinite loop when settings.updated is not defined 2024-11-30 17:43:52 +00:00
Rob Pilling dfde43404c
Merge pull request #3675 from gsuarezc/master
Undo change to One Call API 3.0
2024-11-29 22:02:37 +00:00
Rob Pilling 352c15bba3
Merge pull request #3676 from espruino/dependabot/submodules/webtools-eb1a20c
build(deps): bump webtools from `93d2ce5` to `eb1a20c`
2024-11-29 22:01:30 +00:00
Rob Pilling f16f521482
Merge pull request #3642 from thyttan/dtlaunch
dtlaunch: remember page between dtlaunch instances
2024-11-29 22:01:15 +00:00
Rob Pilling 1bd657ad2f
Merge pull request #3677 from thyttan/messagegui
messagegui: fix assign entry to menu, not msg obj
2024-11-29 21:56:07 +00:00
Corwin Kerr aea8ff9001 andark: move changelog to one line 2024-11-29 16:53:14 -05:00
Corwin Kerr 177e624a71 andark: update version and changelog 2024-11-29 16:50:06 -05:00
Corwin Kerr 3bbb156468 andark: enable fast loading 2024-11-29 16:50:06 -05:00
Corwin Kerr b5fdb79b7f andark: queue draw to the exact second 2024-11-29 16:50:06 -05:00
Rob Pilling 73c32737a9
Merge pull request #3644 from thyttan/smpltmr
smpltmr: adapt to new setui
2024-11-29 21:49:48 +00:00
thyttan 59755da874 dtlaunch: fix no-undef lint error 2024-11-29 22:13:16 +01:00
thyttan 483d34e61f dtlaunch: land on using `Math.ceil/min` 2024-11-29 22:06:38 +01:00
thyttan 4ed499c36d dtlaunch: remember page becomes a setting 2024-11-29 22:06:38 +01:00
thyttan 7e637130a2 dtlaunch: FIXME comments 2024-11-29 22:06:38 +01:00
thyttan 60089275bc dtlaunch: add global dtlaunch object
The global dtlaunch object contains function and information to restore
the page between instances of dtlaunch.
2024-11-29 22:06:38 +01:00
thyttan 7d28e12a38 dtlaunch: remember page between dtlaunch instances 2024-11-29 22:06:38 +01:00
thyttan 236a4c84cf messagegui: fix assign entry to menu, not msg obj 2024-11-29 22:00:51 +01:00
dependabot[bot] d7a5f8ba2d
build(deps): bump webtools from `93d2ce5` to `eb1a20c`
Bumps [webtools](https://github.com/espruino/EspruinoWebTools) from `93d2ce5` to `eb1a20c`.
- [Commits](93d2ce5ebb...eb1a20ce89)

---
updated-dependencies:
- dependency-name: webtools
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-29 00:10:47 +00:00
gsuarezc 5361bcc259
Merge branch 'espruino:master' into master 2024-11-28 21:42:21 +00:00
gsuarezc 7c9b13aa28 owmweather: Undo change to One Call API 3.0 2024-11-28 21:39:19 +00:00
Rob Pilling 0669532d18
Merge pull request #3672 from pavelmachek/m_41_skyspy
skyspy v0.04: cleanups, moving towards reusable code
2024-11-28 12:33:25 +00:00
Rob Pilling 0048451a04
Merge pull request #3671 from pavelmachek/m_40_waypoints
waypoints 0.06: cleanups, minor tweaks
2024-11-28 12:33:15 +00:00
Rob Pilling 478a43fcff
Merge pull request #3653 from bobrippling/fix/sanity-check-acorn
sanitycheck: parse ecma2020 constructs (`??`)
2024-11-28 12:32:56 +00:00
Pavel Machek b33ec20968 skyspy: Mark this as v0.04 2024-11-22 19:05:59 +01:00
Pavel Machek 2e5f36d675 skyspy: update the fmt library, should fix lat/lon display 2024-11-22 19:05:59 +01:00
Pavel Machek dbbb16b69f skyspy: use touch handling from the library, cleanups 2024-11-22 19:05:52 +01:00
Pavel Machek f5d88c8edc skyspy: fix qalt initialization, faster circle drawing 2024-11-22 19:05:52 +01:00
Pavel Machek 0638ebc5e5 skyspy: documentation, cleanups 2024-11-22 19:05:47 +01:00
Pavel Machek 54b698589a skyspy: fix rendering w.r.t. widgets 2024-11-22 19:05:47 +01:00
Pavel Machek eee4eb541e skyspy: cleanup global variables
also move local variables to sky object
2024-11-22 19:05:36 +01:00
Pavel Machek 17192af6ac skyspy: refactor, switch to newer libraries, start splitting into modules 2024-11-22 19:05:29 +01:00
Pavel Machek c34d32530a waypoints: Mark this as version 0.06 2024-11-22 19:02:06 +01:00
Pavel Machek f799d7752c waypoints: cleanups, use gps handling from library 2024-11-22 19:02:06 +01:00
Pavel Machek 33a8e7672b waypoints: fix waypoint deletion 2024-11-22 19:02:06 +01:00
Pavel Machek 22fb1483ee waypoints: cleanups, reduce ammount of global functions 2024-11-22 19:02:06 +01:00
Pavel Machek 20557732f3 waypoints: cleanups from patch review
bobrippling suggested useful cleanups during review
2024-11-22 19:02:06 +01:00
Rob Pilling 2fe22ec5de sanitycheck: drop acorn-stage3, upgrade to v8 (for `??`) 2024-11-22 07:59:58 +00:00
Gordon Williams f34a9bfc32 oops - fix metadata 2024-11-21 13:21:44 +00:00
Gordon Williams 7fc49cc47a 0.04: Fix installation after broken in 0.03 (fix #3667) 2024-11-21 13:19:35 +00:00
Rob Pilling 1a26dc62ab Merge pull request #3668 from Septolum/patch-1 2024-11-21 12:40:23 +00:00