06-04-2021, 08:37 AM | #61 |
Chalut o/
Posts: 421
Karma: 145424
Join Date: Dec 2017
Device: Kobo
|
Nothing, that'll teach me not to read the whole doc
Spoiler:
Last edited by un_pogaz; 06-04-2021 at 08:46 AM. |
06-04-2021, 09:49 AM | #62 |
Grand Sorcerer
Posts: 12,046
Karma: 7548549
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
|
Advert | |
|
06-04-2021, 10:44 AM | #63 |
Custom User Title
Posts: 9,588
Karma: 65099765
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
|
06-04-2021, 10:51 AM | #64 |
Grand Sorcerer
Posts: 12,046
Karma: 7548549
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
|
06-04-2021, 01:47 PM | #65 |
Custom User Title
Posts: 9,588
Karma: 65099765
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
I hope it doesn't break if a date is set to February 29, 2020. I'm testing it myself but still working out how the syntax works.
|
Advert | |
|
06-04-2021, 02:29 PM | #66 | |
Grand Sorcerer
Posts: 12,046
Karma: 7548549
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
By not supporting leap year I mean that with the exception of years, no calculation requires knowledge of whether 29 Feb (EDIT: or any other day of the month) matters. That is why there is no "month" calculation specifier, because the calculation can change when going over a leap February (EDIT: or if the current day doesn't exist in the target month). The problem is finessed for "years" by defining a year as 365 days, which given a valid date can never generate an invalid date, but the result might be a day short. The syntax is straightforward: pairs of (numbers followed by a letter). The order is not important. Examples:
Last edited by chaley; 06-04-2021 at 05:39 PM. |
|
10-07-2021, 03:29 PM | #67 |
Grand Sorcerer
Posts: 12,046
Karma: 7548549
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Bug in calibre versions V5.23 - V5.28: Composite column templates that use Template Program Mode and reference other composite columns can sometimes generate list index error exceptions. Using General Program Mode instead of Template Program Mode avoids the error.
EDIT: Fixed in V5.29 Last edited by chaley; 10-08-2021 at 06:06 AM. |
10-19-2021, 05:00 AM | #68 |
Grand Sorcerer
Posts: 12,046
Karma: 7548549
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Bug in calibre versions 5.13 - 5.29: the assign() function wouldn't parse. The fix will be in the next calibre release.
Thanks to David Tardon for finding and fixing this bug. |
10-19-2021, 06:18 AM | #69 |
Custom User Title
Posts: 9,588
Karma: 65099765
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
You have a different kitty!
|
10-19-2021, 06:45 AM | #70 |
Well trained by Cats
Posts: 30,455
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
10-19-2021, 07:22 AM | #71 |
Grand Sorcerer
Posts: 12,046
Karma: 7548549
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
We have three, 2 ginger brothers and one calico. She was my previous avatar and is still feral. I must use welder's leather arm gloves to pick her up. One brother (the current avatar) insists on helping with everything and everyone; plumbers in particular appreciate him jumping on their backs to inspect their work. The other brother is nervous and shy but is the most skillful at hunting down cat treats.
|
10-31-2021, 10:10 AM | #72 |
Grand Sorcerer
Posts: 12,046
Karma: 7548549
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Bug fix: arithmetic operators fail if a value is undefined
31 October 2021 (In calibre 5.31.1)
Last edited by chaley; 11-05-2021 at 11:12 AM. |
11-10-2021, 12:05 PM | #73 | |
Grand Sorcerer
Posts: 12,046
Karma: 7548549
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
New formatter function: current_virtual_library_name()
10 November 2021 (In calibre source)
|
|
11-11-2021, 07:47 AM | #74 |
Grand Sorcerer
Posts: 12,046
Karma: 7548549
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Performance improvements
11 November 2021 (in calibre source)
Last edited by chaley; 11-11-2021 at 08:51 AM. |
03-27-2022, 11:28 AM | #75 |
Grand Sorcerer
Posts: 12,046
Karma: 7548549
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
New language constructs
27 March 2022 (In calibre version 5.40)
Last edited by chaley; 04-01-2022 at 11:17 AM. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
A few questions... (template language, mainly) | Clem2605 | Library Management | 2 | 12-30-2020 04:25 AM |
Template Language | phossler | Calibre | 8 | 01-12-2016 05:37 PM |
Help needed with template language | Mamaijee | Devices | 12 | 02-19-2013 02:52 AM |
Help with template language | Pepin33 | Calibre | 8 | 11-11-2012 09:32 AM |
Template language question | BookJunkieLI | Library Management | 7 | 02-02-2012 07:55 PM |