1.0.2 • Published 2 years ago

times-range v1.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

vue environment.

Install

npm i times-range -S

Feature

get time range. No HH:mm:ss, if you need to add your own!

  • getToday
  • getWeek
  • getLastWeek
  • getMonth
  • getLastMonth
  • getQuarter
  • getLastQuarter
  • getYear
  • getLastYear

Example

import getTimeRange from 'times-range';
  // Other code...

// Call getToday() in a function someFunction() { const rangeTime = getTimeRange.getWeek(); // Array '2023-09-25,'2023-10-01' // Process the obtained time range data... }

## Development
* github is not configured.
* This package is a test package
1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago