rrule-temporal 1.1.12 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/totext.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  RRuleTemporal
3
- } from "./chunk-AVHF452E.js";
3
+ } from "./chunk-PDW5N23H.js";
4
4
 
5
5
  // src/totext.ts
6
6
  var en = {
@@ -584,6 +584,11 @@ function toText(input, locale) {
584
584
  if (exDate && exDate.length) {
585
585
  parts.push(data.words.excluding, `${exDate.length}`, exDate.length === 1 ? data.words.date : data.words.dates);
586
586
  }
587
+ if (opts.rscale) {
588
+ const rscale = opts.rscale;
589
+ const skip = opts.skip;
590
+ parts.push(`(RSCALE=${rscale}${skip ? `;SKIP=${skip}` : ""})`);
591
+ }
587
592
  return parts.join(" ");
588
593
  }
589
594
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rrule-temporal",
3
- "version": "1.1.12",
3
+ "version": "1.2.0",
4
4
  "description": "Recurrence rule processing using Temporal PlainDate/PlainDateTime",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",