Skip to content

Releases: VitorLuizC/format-date

Version 1.3.0

18 Nov 19:40
Compare
Choose a tag to compare

Minor Changes

  • Add formatter tokens A ("AM" and "PM") and a ("am" and "pm").

    Thanks to @alexgritton for PR #5.

  • Upgrade devDependencies and use bitty's lockfile.

Version 1.1.1

29 Jun 12:41
Compare
Choose a tag to compare

Patch Changes

  • Add "sideEffects": false to package.json.
  • Remove sourceMaps of removed type declaration files in published package.

Version 1.1.0

29 Jun 12:39
Compare
Choose a tag to compare

Minor Changes

  • Improve JSDoc comments.
  • Improve Tokens section on README.
  • Reduce the code size a bit using recursion instead of while on addZeroPads.

Version 1.0.0

29 Jun 12:32
Compare
Choose a tag to compare

Version 1.0.0

BREAKING CHANGES

  • The library was renamed and putted under @bitty scope.
  • Change entries due to new bundle strategy:
    • cdn entry was changed from dist/tiny-date-format.umd.min.js to dist/tiny-date-format.umd.js;
    • main entry was changed from dist/tiny-date-format.js to dist/tiny-date-format.js;
    • unpkg entry was changed from dist/tiny-date-format.umd.min.js to dist/tiny-date-format.umd.js;
    • types entry was changed from types/tiny-date-format.d.ts to types/tiny-date-format.d.ts;
    • module entry was changed from dist/tiny-date-format.esm.js to dist/tiny-date-format.esm.js;
    • jsdelivr entry was changed from dist/tiny-date-format.umd.min.js to dist/tiny-date-format.umd.js;
    • browser entry was removed.
    • umd:main was added and points to dist/tiny-date-format.umd.js;

Maintenance/Other Changes

  • Use @bitty strategy for package managing, bundle, test and lint.

Version 0.1.1

17 Jun 02:08
Compare
Choose a tag to compare
  • Fixed README.md link.

Version 0.1.0

17 Jun 02:08
Compare
Choose a tag to compare
  • Created formatters supporting DD, D, MM, M, YYYY, YY, HH, H, mm, m, ss and s moment's tokens;
  • Created formatters supporting moment's escape;