New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

github.com/spkg/local

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/spkg/local

  • v0.0.0-20160624110918-1355a9e1ee25
  • Source
  • Go
  • Socket score

Version published
Created
Source

Local date and time

GoDoc Build Status (Linux) Build status (Windows) Coverage Status GoReportCard License

Package local provides types for representing local dates, and times.

Sometimes it is useful to be able to represent a date or time without reference to an instance in time with a timezone.

For example, when recording a person's date of birth all that is needed is a date. There is no requirement to specify an instant in time with timezone.

There are also circumstances where an event will be scheduled for a date and time in the local timezone, whatever that may be. And example of this might be a schedule for taking medication.

Like the standard library time package, the local package uses the proleptic Gregorian calendar for all calculations. The local package makes use of the time package for all of its date-time calculations. Because some of this code is based on the standard time package, it has the identical license to the Go project.

For usage examples, refer to the GoDoc documentation.

FAQs

Package last updated on 24 Jun 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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