Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update TC39 proposal-temporal doc links #54

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions packages/temporal-spec/global.d.cts
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,7 @@ declare global {
* each year, how many days are in each month, and how to do arithmetic in
* that calendar system.
*
* See https://tc39.es/proposal-temporal/docs/calendar.html for more details.
* See https://tc39.es/proposal-temporal/docs/calendars.html for more details.
*/
class Calendar implements CalendarProtocol {
static from(item: CalendarLike): Temporal.Calendar | CalendarProtocol;
Expand Down Expand Up @@ -804,7 +804,7 @@ declare global {
* which happens during the whole day no matter which time zone it's happening
* in.
*
* See https://tc39.es/proposal-temporal/docs/date.html for more details.
* See https://tc39.es/proposal-temporal/docs/plaindate.html for more details.
*/
class PlainDate {
static from(item: Temporal.PlainDate | PlainDateLike | string, options?: AssignmentOptions): Temporal.PlainDate;
Expand Down Expand Up @@ -900,7 +900,7 @@ declare global {
* and `Temporal.PlainMonthDay` all carry less information and should be used when
* complete information is not required.
*
* See https://tc39.es/proposal-temporal/docs/datetime.html for more details.
* See https://tc39.es/proposal-temporal/docs/plaindatetime.html for more details.
*/
class PlainDateTime {
static from(
Expand Down Expand Up @@ -999,7 +999,7 @@ declare global {
* without a year. For example, it could be used to represent a yearly
* recurring event, like "Bastille Day is on the 14th of July."
*
* See https://tc39.es/proposal-temporal/docs/monthday.html for more details.
* See https://tc39.es/proposal-temporal/docs/plainmonthday.html for more details.
*/
class PlainMonthDay {
static from(
Expand Down Expand Up @@ -1053,7 +1053,7 @@ declare global {
* `Temporal.PlainDateTime` by combining it with a `Temporal.PlainDate` using the
* `toPlainDateTime()` method.
*
* See https://tc39.es/proposal-temporal/docs/time.html for more details.
* See https://tc39.es/proposal-temporal/docs/plaintime.html for more details.
*/
class PlainTime {
static from(item: Temporal.PlainTime | PlainTimeLike | string, options?: AssignmentOptions): Temporal.PlainTime;
Expand Down Expand Up @@ -1175,7 +1175,7 @@ declare global {
* example, it could be used to represent a particular instance of a monthly
* recurring event, like "the June 2019 meeting".
*
* See https://tc39.es/proposal-temporal/docs/yearmonth.html for more details.
* See https://tc39.es/proposal-temporal/docs/plainyearmonth.html for more details.
*/
class PlainYearMonth {
static from(
Expand Down
12 changes: 6 additions & 6 deletions packages/temporal-spec/global.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,7 @@ declare global {
* each year, how many days are in each month, and how to do arithmetic in
* that calendar system.
*
* See https://tc39.es/proposal-temporal/docs/calendar.html for more details.
* See https://tc39.es/proposal-temporal/docs/calendars.html for more details.
*/
class Calendar implements CalendarProtocol {
static from(item: CalendarLike): Temporal.Calendar | CalendarProtocol;
Expand Down Expand Up @@ -804,7 +804,7 @@ declare global {
* which happens during the whole day no matter which time zone it's happening
* in.
*
* See https://tc39.es/proposal-temporal/docs/date.html for more details.
* See https://tc39.es/proposal-temporal/docs/plaindate.html for more details.
*/
class PlainDate {
static from(item: Temporal.PlainDate | PlainDateLike | string, options?: AssignmentOptions): Temporal.PlainDate;
Expand Down Expand Up @@ -900,7 +900,7 @@ declare global {
* and `Temporal.PlainMonthDay` all carry less information and should be used when
* complete information is not required.
*
* See https://tc39.es/proposal-temporal/docs/datetime.html for more details.
* See https://tc39.es/proposal-temporal/docs/plaindatetime.html for more details.
*/
class PlainDateTime {
static from(
Expand Down Expand Up @@ -999,7 +999,7 @@ declare global {
* without a year. For example, it could be used to represent a yearly
* recurring event, like "Bastille Day is on the 14th of July."
*
* See https://tc39.es/proposal-temporal/docs/monthday.html for more details.
* See https://tc39.es/proposal-temporal/docs/plainmonthday.html for more details.
*/
class PlainMonthDay {
static from(
Expand Down Expand Up @@ -1053,7 +1053,7 @@ declare global {
* `Temporal.PlainDateTime` by combining it with a `Temporal.PlainDate` using the
* `toPlainDateTime()` method.
*
* See https://tc39.es/proposal-temporal/docs/time.html for more details.
* See https://tc39.es/proposal-temporal/docs/plaintime.html for more details.
*/
class PlainTime {
static from(item: Temporal.PlainTime | PlainTimeLike | string, options?: AssignmentOptions): Temporal.PlainTime;
Expand Down Expand Up @@ -1175,7 +1175,7 @@ declare global {
* example, it could be used to represent a particular instance of a monthly
* recurring event, like "the June 2019 meeting".
*
* See https://tc39.es/proposal-temporal/docs/yearmonth.html for more details.
* See https://tc39.es/proposal-temporal/docs/plainyearmonth.html for more details.
*/
class PlainYearMonth {
static from(
Expand Down
12 changes: 6 additions & 6 deletions packages/temporal-spec/index.d.cts
Original file line number Diff line number Diff line change
Expand Up @@ -703,7 +703,7 @@ export namespace Temporal {
* each year, how many days are in each month, and how to do arithmetic in
* that calendar system.
*
* See https://tc39.es/proposal-temporal/docs/calendar.html for more details.
* See https://tc39.es/proposal-temporal/docs/calendars.html for more details.
*/
class Calendar implements CalendarProtocol {
static from(item: CalendarLike): Temporal.Calendar | CalendarProtocol;
Expand Down Expand Up @@ -801,7 +801,7 @@ export namespace Temporal {
* which happens during the whole day no matter which time zone it's happening
* in.
*
* See https://tc39.es/proposal-temporal/docs/date.html for more details.
* See https://tc39.es/proposal-temporal/docs/plaindate.html for more details.
*/
class PlainDate {
static from(item: Temporal.PlainDate | PlainDateLike | string, options?: AssignmentOptions): Temporal.PlainDate;
Expand Down Expand Up @@ -897,7 +897,7 @@ export namespace Temporal {
* and `Temporal.PlainMonthDay` all carry less information and should be used when
* complete information is not required.
*
* See https://tc39.es/proposal-temporal/docs/datetime.html for more details.
* See https://tc39.es/proposal-temporal/docs/plaindatetime.html for more details.
*/
class PlainDateTime {
static from(
Expand Down Expand Up @@ -996,7 +996,7 @@ export namespace Temporal {
* without a year. For example, it could be used to represent a yearly
* recurring event, like "Bastille Day is on the 14th of July."
*
* See https://tc39.es/proposal-temporal/docs/monthday.html for more details.
* See https://tc39.es/proposal-temporal/docs/plainmonthday.html for more details.
*/
class PlainMonthDay {
static from(
Expand Down Expand Up @@ -1050,7 +1050,7 @@ export namespace Temporal {
* `Temporal.PlainDateTime` by combining it with a `Temporal.PlainDate` using the
* `toPlainDateTime()` method.
*
* See https://tc39.es/proposal-temporal/docs/time.html for more details.
* See https://tc39.es/proposal-temporal/docs/plaintime.html for more details.
*/
class PlainTime {
static from(item: Temporal.PlainTime | PlainTimeLike | string, options?: AssignmentOptions): Temporal.PlainTime;
Expand Down Expand Up @@ -1172,7 +1172,7 @@ export namespace Temporal {
* example, it could be used to represent a particular instance of a monthly
* recurring event, like "the June 2019 meeting".
*
* See https://tc39.es/proposal-temporal/docs/yearmonth.html for more details.
* See https://tc39.es/proposal-temporal/docs/plainyearmonth.html for more details.
*/
class PlainYearMonth {
static from(
Expand Down
12 changes: 6 additions & 6 deletions packages/temporal-spec/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -703,7 +703,7 @@ export namespace Temporal {
* each year, how many days are in each month, and how to do arithmetic in
* that calendar system.
*
* See https://tc39.es/proposal-temporal/docs/calendar.html for more details.
* See https://tc39.es/proposal-temporal/docs/calendars.html for more details.
*/
class Calendar implements CalendarProtocol {
static from(item: CalendarLike): Temporal.Calendar | CalendarProtocol;
Expand Down Expand Up @@ -801,7 +801,7 @@ export namespace Temporal {
* which happens during the whole day no matter which time zone it's happening
* in.
*
* See https://tc39.es/proposal-temporal/docs/date.html for more details.
* See https://tc39.es/proposal-temporal/docs/plaindate.html for more details.
*/
class PlainDate {
static from(item: Temporal.PlainDate | PlainDateLike | string, options?: AssignmentOptions): Temporal.PlainDate;
Expand Down Expand Up @@ -897,7 +897,7 @@ export namespace Temporal {
* and `Temporal.PlainMonthDay` all carry less information and should be used when
* complete information is not required.
*
* See https://tc39.es/proposal-temporal/docs/datetime.html for more details.
* See https://tc39.es/proposal-temporal/docs/plaindatetime.html for more details.
*/
class PlainDateTime {
static from(
Expand Down Expand Up @@ -996,7 +996,7 @@ export namespace Temporal {
* without a year. For example, it could be used to represent a yearly
* recurring event, like "Bastille Day is on the 14th of July."
*
* See https://tc39.es/proposal-temporal/docs/monthday.html for more details.
* See https://tc39.es/proposal-temporal/docs/plainmonthday.html for more details.
*/
class PlainMonthDay {
static from(
Expand Down Expand Up @@ -1050,7 +1050,7 @@ export namespace Temporal {
* `Temporal.PlainDateTime` by combining it with a `Temporal.PlainDate` using the
* `toPlainDateTime()` method.
*
* See https://tc39.es/proposal-temporal/docs/time.html for more details.
* See https://tc39.es/proposal-temporal/docs/plaintime.html for more details.
*/
class PlainTime {
static from(item: Temporal.PlainTime | PlainTimeLike | string, options?: AssignmentOptions): Temporal.PlainTime;
Expand Down Expand Up @@ -1172,7 +1172,7 @@ export namespace Temporal {
* example, it could be used to represent a particular instance of a monthly
* recurring event, like "the June 2019 meeting".
*
* See https://tc39.es/proposal-temporal/docs/yearmonth.html for more details.
* See https://tc39.es/proposal-temporal/docs/plainyearmonth.html for more details.
*/
class PlainYearMonth {
static from(
Expand Down