+
Skip to content

Releases: Sipylus/datetime.js

1.1.1

27 Jul 05:35
1f19893

Choose a tag to compare

Text Display Refinement

  • Improved clock display formatting: now shows "at {time}" for better clarity.

1.1.0

21 Jul 22:01
e435db2

Choose a tag to compare

Intl Upgrade

  • Replaced manual date/time formatting with Intl.DateTimeFormat
  • Output is now locale-aware
  • Output string format is slightly different from previous versions
  • Behavior is backward-compatible; no breaking changes expected

1.0.1

21 Jul 21:59
e435db2

Choose a tag to compare

Internal Improvements

  • Replaced manual string padding with padStart
  • Switched let to const where appropriate
  • Added console warning if #clock is missing
  • Refactored code for clarity and maintainability

1.0.0

21 Jul 21:57
e435db2

Choose a tag to compare

Initial release

  • Initial release of datetime.js.
  • Displays current weekday, month, day, year, and time.
  • 12-hour format with AM/PM.
  • Auto-updates every second.
  • Lightweight and browser-friendly.
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载