22 Commits

Author SHA1 Message Date
4d0fdd9b11 Correct docs for Go's text/html built-in template functions
Source: https://pkg.go.dev/text/template#hdr-Functions

The comparison functions the greater-than-or-equal-to and less-than-or-equal-to are `ge` and `le`, not `gte` and `lte`. I got an error rendering my template before I realized this.
2025-05-22 18:03:45 -04:00
f5bfd9d4d1 Merge branch 'dev' 2025-05-19 21:25:48 +01:00
c1aaec5ffc Add .Options.JSON to custom API 2025-05-19 21:23:13 +01:00
571cdaf618 The 'and' and 'or' accepts more than 2 boolean arguments 2025-05-19 19:46:26 +08:00
9bbf73db97 Merge pull request #661 from anant-j/dev
Add Mod operation
2025-05-16 17:33:58 +01:00
a5b0664b9c Add Mod operation 2025-05-14 22:38:13 -07:00
c67eb4d2c0 Add startOfDay and endOfDay funcs 2025-05-14 22:05:35 +01:00
bd5cacd14a Update docs 2025-05-13 18:55:57 +01:00
baaf306ebf Add percentChange function 2025-05-11 21:09:12 +01:00
7bbf103e01 Add custom-api options and template requests 2025-05-11 15:49:21 +01:00
b8e2717faf Add parseLocalTime function 2025-04-22 22:40:55 +01:00
5a91154eab Document function 2025-04-13 16:08:04 +01:00
f99d22738c Add replaceMatches 2025-04-11 20:37:45 +01:00
9da7967158 Update docs 2025-03-29 18:00:36 +00:00
964744a9ae Add offsetNow function 2025-03-29 17:57:43 +00:00
779304d035 Allow skipping JSON check and add JSONLines 2025-03-29 13:36:22 +00:00
f15d7445bd Add concat function 2025-03-29 13:20:53 +00:00
dd74c173a5 More custom-api additions/tweaks
* Remove need to convert to int for math stuff
* Add `now` and `duration` functions
2025-03-28 23:34:49 +00:00
233de7fc37 Add new functions to custom-api widget 2025-03-26 19:44:35 +00:00
2f88ac419b Add parseTime to custom-api 2025-03-26 11:27:07 +00:00
da6fbc4995 Update custom-api doc 2025-02-09 17:32:55 +00:00
d8c7d02f5e Add custom-api examples 2025-02-09 05:33:08 +00:00