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

telegram-inline-calendar

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

telegram-inline-calendar - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

2

package.json
{
"name": "telegram-inline-calendar",
"version": "1.1.1",
"version": "1.1.2",
"description": "Date Selection tool & Inline calendar for Node.js telegram bots",

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

@@ -142,2 +142,2 @@ <h1 align="center">telegram-inline-calendar</h1>

Copyright © 2022 Dmitry Vyazin
Copyright © 2022-2023 Dmitry Vyazin

@@ -62,5 +62,5 @@ const lang = require("./language.json");

cnk.inline_keyboard.push([{},{},{}]);
cnk.inline_keyboard[0][0] = {text: '<<', callback_data: 'n_' + date + '_--'};
cnk.inline_keyboard[0][0] = {text: '<<', callback_data: 'n_' + dayjs(date).format("YYYY") + '_--'};
cnk.inline_keyboard[0][1] = {text: lang.month3[this.options.language][date.getMonth()] + ' ' + date.getFullYear(), callback_data: ' '};
cnk.inline_keyboard[0][2] = {text: '>>', callback_data: 'n_' + date + '_++'};
cnk.inline_keyboard[0][2] = {text: '>>', callback_data: 'n_' + dayjs(date).format("YYYY") + '_++'};
cnk.inline_keyboard.push([{},{},{},{},{},{},{}]);

@@ -83,5 +83,5 @@ for(j = 0; j < 7; j++) {

cnk.inline_keyboard.push([{},{},{}]);
cnk.inline_keyboard[cr - 1][0] = {text: '<', callback_data: 'n_' + date + '_-'};
cnk.inline_keyboard[cr - 1][0] = {text: '<', callback_data: 'n_' + dayjs(date).format("YYYY-MM") + '_-'};
cnk.inline_keyboard[cr - 1][1] = {text: ' ', callback_data: ' '};
cnk.inline_keyboard[cr - 1][2] = {text: '>', callback_data: 'n_' + date + '_+'};
cnk.inline_keyboard[cr - 1][2] = {text: '>', callback_data: 'n_' + dayjs(date).format("YYYY-MM") + '_+'};
return cnk;

@@ -88,0 +88,0 @@ }

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