Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
20b181b2f3 | |||
d278722da2 |
4
package-lock.json
generated
4
package-lock.json
generated
@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "@pushrocks/smarttime",
|
||||
"version": "3.0.44",
|
||||
"version": "3.0.45",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@pushrocks/smarttime",
|
||||
"version": "3.0.44",
|
||||
"version": "3.0.45",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@pushrocks/lik": "^5.0.4",
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@pushrocks/smarttime",
|
||||
"private": false,
|
||||
"version": "3.0.44",
|
||||
"version": "3.0.45",
|
||||
"description": "handle time in smart ways",
|
||||
"main": "dist_ts/index.js",
|
||||
"typings": "dist_ts/index.d.ts",
|
||||
|
@ -85,7 +85,7 @@ export class ExtendedDate extends Date {
|
||||
|
||||
public exportToHyphedSortableDate() {
|
||||
const units = this.exportToUnits();
|
||||
return `${units.yearString}-${units.monthString}.${units.dayString}`;
|
||||
return `${units.yearString}-${units.monthString}-${units.dayString}`;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user