Skip to content
This repository was archived by the owner on Apr 12, 2025. It is now read-only.

Releases: imhugofonseca/portuguese-utils

v0.2.0

30 Apr 18:49

Choose a tag to compare

  • Added new validator isValidNISS that validates a Portuguese Social Security Identifier Number (NISS)
  • Added new validator isValidNNU that Validates a Portuguese Heath System, Nacional Patient Number (NNU)
  • Some cleanups on the overall project and dependencies upgrades

🎉 thanks to @gabtec

v0.1.7

22 May 19:14
ed16af1

Choose a tag to compare

  • formatCurrency now takes a number or a string as argument
  • isValidHoliday refactored
    🎉

v0.1.6

22 May 14:56
2db7b8e

Choose a tag to compare

Fix formatDateExtended exports broking module

v0.1.5

21 May 21:02

Choose a tag to compare

New stuff

  • formatDate - Formats simple dates
  • formatDateTime - Formats date times
  • formatDateExtended - Extended formator
  • isValidHoliday - Verify if it's a valid holiday dates
  • holidays - Holidays helper

Also docs have been updated and are now more readable than ever
🎉

v0.1.4

21 May 12:46
250e896

Choose a tag to compare

New helpers containing month labels and week day labels in portuguese 🎉
Check docs for more info.

v0.1.2

12 May 18:24
9e05900

Choose a tag to compare

Improvements to currency validator and fix cdn to latest

v0.1.1

11 May 11:05
70a91ba

Choose a tag to compare

(feat): Added new validator isValidCPECUIto validate CPEs and CUIs
(feat): Added New formaterformatToCurrency that transforms numbers into currency correct strings
that's all 🎉

v0.1.0

09 May 22:31
8ef5c50

Choose a tag to compare

  • (feat) formatDecimalNumber
  • (feat) Browser support 2 last versions

v0.0.10

09 May 13:07

Choose a tag to compare

UMD Module to be used in browser

v0.0.9

09 May 10:59

Choose a tag to compare

Fixes build copying tests to package