GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    Alex Gleason (alex@gleasonator.com)'s status on Sunday, 09-Jul-2023 05:55:14 JST Alex Gleason Alex Gleason

    Simple TypeScript time utility. Time.hours(1) gives 3600000.

    const Time = { milliseconds: (ms: number) => ms, seconds: (s: number) => s * 1000, minutes: (m: number) => m * Time.seconds(60), hours: (h: number) => h * Time.minutes(60), days: (d: number) => d * Time.hours(24), weeks: (w: number) => w * Time.days(7), months: (m: number) => m * Time.days(30), years: (y: number) => y * Time.days(365), }
    In conversation Sunday, 09-Jul-2023 05:55:14 JST from gleasonator.com permalink
    • Embed this notice
      Tristan B. V. Kildaire ??? (deavmi@gleasonator.com)'s status on Sunday, 09-Jul-2023 07:03:24 JST Tristan B. V. Kildaire ??? Tristan B. V. Kildaire ???
      in reply to

      @alex This is a sweet namespace based recursion (idk what to call it).

      Nice.

      In conversation Sunday, 09-Jul-2023 07:03:24 JST permalink
      Alex Gleason likes this.

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.