diff options
author | Florian Dold <florian@dold.me> | 2023-05-26 13:52:00 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-05-26 13:52:00 +0200 |
commit | 96d9ea3840626f71efe38018b75748d8338565fa (patch) | |
tree | d1f04ecbb58750af79b3d0cb0420ba4fdf6d05a2 /packages/taler-wallet-core/src/util/denominations.ts | |
parent | cd8f76db61f4a1ab1a8a8a4d29b2f3e863b59854 (diff) | |
download | wallet-core-96d9ea3840626f71efe38018b75748d8338565fa.tar.xz |
taler-util,wallet-core: make AbsoluteTime opaque
Diffstat (limited to 'packages/taler-wallet-core/src/util/denominations.ts')
-rw-r--r-- | packages/taler-wallet-core/src/util/denominations.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/taler-wallet-core/src/util/denominations.ts b/packages/taler-wallet-core/src/util/denominations.ts index ecf8c5671..2b2faa458 100644 --- a/packages/taler-wallet-core/src/util/denominations.ts +++ b/packages/taler-wallet-core/src/util/denominations.ts @@ -132,10 +132,10 @@ export function createPairTimeline( //check which start after, add gap so both list starts at the same time // one list may be empty const leftStartTime: AbsoluteTime = leftGroupIsEmpty - ? { t_ms: "never" } + ? AbsoluteTime.never() : left[li].from; const rightStartTime: AbsoluteTime = rightGroupIsEmpty - ? { t_ms: "never" } + ? AbsoluteTime.never() : right[ri].from; //first time cut is the smallest time |