Jeremy Spilman [ARCHIVE] on Nostr: š
Original date posted:2014-02-25 š Original message:> > So in summary the spec ...
š
Original date posted:2014-02-25
š Original message:>
> So in summary the spec needs daily as an option, and to specify the
> recurring cycle as every n*period >(one of daily, weekly, monthly,
> yearly): and you can drop quarterly since it's just expressed as per
> >3*monthly.
If you're going to go the direction of a {unitType, unitsPerInterval}
tuple, then I think the only two units you could ever want are minutes and
months. All other standard units of time can be expressed in terms of
those two, right?
Also consider changing "optional uint64 ends = 4;" to be a interval count
instead of a UTC timestamp, to avoid any ambiguity over how the 'while'
loop should be implemented.
Published at
2023-06-07 15:13:11Event JSON
{
"id": "7f713eba638be09e07a5fe964a39aa235386f0ae3933bd7eb9b5b11ca96efda3",
"pubkey": "7e57666cff7c86f9410d33d4d34ef3e5105395b3c74af472541dbeeb743f9de3",
"created_at": 1686150791,
"kind": 1,
"tags": [
[
"e",
"8d7858f1d9ce21a632344a1294f3710b1744f78d70beac66f50b5fdde038ce90",
"",
"root"
],
[
"e",
"e38dbdb6e9acd3038f67d213907d48494af458f3c8161624ef78314bd12733d9",
"",
"reply"
],
[
"p",
"50ece7cbb2dc316af1cd5da0d62e0e1fec40f20919242c8fbedd53702fba95db"
]
],
"content": "š
Original date posted:2014-02-25\nš Original message:\u003e\n\u003e So in summary the spec needs daily as an option, and to specify the \n\u003e recurring cycle as every n*period \u003e(one of daily, weekly, monthly, \n\u003e yearly): and you can drop quarterly since it's just expressed as per \n\u003e \u003e3*monthly.\n\nIf you're going to go the direction of a {unitType, unitsPerInterval} \ntuple, then I think the only two units you could ever want are minutes and \nmonths. All other standard units of time can be expressed in terms of \nthose two, right?\n\nAlso consider changing \"optional uint64 ends = 4;\" to be a interval count \ninstead of a UTC timestamp, to avoid any ambiguity over how the 'while' \nloop should be implemented.",
"sig": "74a8bd81fb1f1fc05f9221589629a4a10a778b9ff11d663c28dd7fa76c0d1625b395df4e0b099961aede856673e01d1b7444bdbc6f58c694411ac9ce4e6bbf7d"
}