Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gl-w-frontend

Package Overview
Dependencies
Maintainers
1
Versions
130
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gl-w-frontend - npm Package Compare versions

Comparing version 3.2.0 to 3.3.0

1

lib/scripts/core/services/date/core-services-date.service.d.ts

@@ -16,2 +16,3 @@ import { IDate, IDateLocal, IDayMonthYear, IDaysOfMonth, IWeeksOfMonth } from './core-services-date.interface';

currentDateNoUTCString(outputFormat?: string): string;
customDateExcelNoUTC(date: IDate, format?: string): Date;
dayMonthYear(date: IDate, format?: string, separator?: string): IDayMonthYear;

@@ -18,0 +19,0 @@ dayMonthYearNoUCT(date: IDate, format?: string, separator?: string): IDayMonthYear;

@@ -50,2 +50,6 @@ import * as moment from 'moment';

}
customDateExcelNoUTC(date, format = 'DD/MM/YYYY') {
const finalDate = this.customDate(date, format);
return moment.utc(finalDate, format).add(0.5, 'minute').add(-2, 'seconds').toDate();
}
dayMonthYear(date, format = 'DD/MM/YYYY', separator = '/') {

@@ -52,0 +56,0 @@ const x = moment(date, format, true).format(format);

2

package.json
{
"name": "gl-w-frontend",
"version": "3.2.0",
"version": "3.3.0",
"description": "Common code for using among web front-end development such as ES6+ and TypeScript",

@@ -5,0 +5,0 @@ "main": "lib/bundle.js",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc