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

geomoment

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

geomoment - npm Package Compare versions

Comparing version 0.3.1 to 0.3.2

1

lib/augment_moment.js

@@ -9,2 +9,3 @@ // Generated by CoffeeScript 1.6.3

numberedDay: 'YYYYMMDD',
calendarDay: 'YYYY/MM/DD',
abbrv: 'ddd, MMM Do',

@@ -11,0 +12,0 @@ long: 'dddd, MMMM Do',

2

package.json
{
"name": "geomoment",
"version": "0.3.1",
"version": "0.3.2",
"description": "moment-timezone, if moment-timezone forced you to choose a particular moment in time. also, some extra sugar.",

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

@@ -19,2 +19,11 @@ # geomoment

geomoment().toDay() // => '2013-01-01'
// Date formats
geomoment.formats.day = 'YYYY-MM-DD' // 2013-01-01
geomoment.formats.numberedDay = 'YYYYMMDD' // 20130101
geomoment.formats.calendarDay = 'YYYY/MM/DD' // 2013/01/01
geomoment.formats.abbrv = 'ddd, MMM Do' // Tue, Jan 1st
geomoment.formats.long = 'dddd, MMMM Do' // Tuesday, January 1st
geomoment.formats.short = 'MMM D' // Jan 1
geomoment.formats.weekday = 'dddd' // Tuesday
```

@@ -21,0 +30,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