eternal-summer-vacation
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

eternal-summer-vacation

npm install eternal-summer-vacation

In Japan, some people stray off into August 32nd. This is believed to be the result of thaumatologic act taken by students who make resistance against arrival of September 1st, which is the date of the end of their summer vacation.

To help victims of the incident, eternal-summer-vacation provides a Temporal calendar that supports August 32nd and following dates. Instead of transitioning to September and so on, eternal-summer-vacation suports dates up to August 153rd.

Usage

import { Temporal } from "@js-temporal/polyfill";
import { eternalSummerVacationCalendar } from "eternal-summer-vacation";

const today = Temporal.PlainDate.from("2021-08-31").withCalendar(
  eternalSummerVacationCalendar
);

const tomorrow = today.plus(1);

console.log(tomorrow.month, tomorrow.date); // 8, 32   ← Hooray!

Example

Simple Endless Summer Vacation Calendar made with React

https://codesandbox.io/s/eternal-summer-vacation-qctks?file=/src/App.tsx

License

MIT

Contributing

Welcome

Readme

Keywords

Package Sidebar

Install

npm i eternal-summer-vacation

Weekly Downloads

0

Version

2.0.0

License

MIT

Unpacked Size

55.3 kB

Total Files

18

Last publish

Collaborators

  • uhyo