🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@apolitical/common-helpers-dates

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@apolitical/common-helpers-dates

Node.js module to format dates

1.1.0
latest
npm
Version published
Weekly downloads
108
14.89%
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

Helper Functions

FAQs

Package last updated on 04 Apr 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts