# @apolitical/common-helpers-dates

> Node.js module to format dates

Latest version **1.1.0** (published 2023-04-04) · MIT license · 0 weekly downloads

## Install

```sh
npm install @apolitical/common-helpers-dates
pnpm add @apolitical/common-helpers-dates
yarn add @apolitical/common-helpers-dates
bun add @apolitical/common-helpers-dates
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2023-04-04 |
| First published | 2021-10-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=12.20.1 |
| Dependencies | 0 |
| Unpacked size | 3.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Apolitical Group Limited |
| Maintainers | npm-apolitical-styleguide |
| Keywords | Helper Functions, Node Modules |

## Links

- npm: https://www.npmjs.com/package/@apolitical/common-helpers-dates
- npm.io page: https://npm.io/package/@apolitical/common-helpers-dates

## Alternatives

- [lodash.assign](https://npm.io/package/lodash.assign.md) — 2.3M weekly downloads
- [lodash.chunk](https://npm.io/package/lodash.chunk.md) — 1.8M weekly downloads
- [react-native-ios-utilities](https://npm.io/package/react-native-ios-utilities.md) — 138.5K weekly downloads
- [@technically/lodash](https://npm.io/package/@technically/lodash.md) — 50.9K weekly downloads
- [@fluid-topics/ft-icon](https://npm.io/package/@fluid-topics/ft-icon.md) — 20.6K weekly downloads

## Recent versions

- 1.1.0 (latest) — 2023-04-04
- 1.1.0-draco.2 — 2023-04-04
- 1.1.0-draco.1 — 2023-04-03
- 1.1.0-draco.0 — 2023-04-03
- 1.0.2 — 2022-06-28
- 1.0.1-rc.0 — 2022-06-22
- 1.0.0 — 2021-11-04
- 1.0.0-beta.5 — 2021-10-28
- 1.0.0-beta.4 — 2021-10-27
- 1.0.0-beta.3 — 2021-10-27
- 1.0.0-beta.2 — 2021-10-26
- 1.0.0-beta.1 — 2021-10-26

## README

# Common Helpers- Dates

Node.js module to expose functionality to format dates for use in our frontend projects

# Current function

- getMonth
  - Takes a date and returns the month as a string in short format
- getNumericDay
  - Takes a date and returns the numeric day as a string
- getShortDate
  - Takes a date and returns the date as a string in `1 Jan` format
- getDateWithYear
  - Takes a date and returns the date as a string in `1 Jan 2022` format
- getLongDate
  - Takes a date and returns the date as a string in `Saturday, 1 Jan 2022` format

---
_Source: https://npm.io/package/@apolitical/common-helpers-dates · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
