2.0.0 • Published 5 years ago

ldap2date v2.0.0

Weekly downloads
77
License
MIT
Repository
github
Last release
5 years ago

Build Status

ldap2date.js

Creates DateTime objects from RFC 4517 Generalized Time strings.

Conversion from DateTime to GeneralizedTime formatted strings is supported as well.

Usage

ldap2date.parse(time)

Returns a new Date() object

  • time - A LDAP Generalized-Time string

null will be returned if the time string cannot be parsed into a valid Date object.


ldap2date.toGeneralizedTime(date)

Returns a string in GeneralizedTime syntax

  • date - A date object
2.0.0

5 years ago

1.0.0

11 years ago

0.3.2

11 years ago

0.3.1

11 years ago

0.3.0

11 years ago

0.2.1

11 years ago

0.2.0

11 years ago

0.1.2

11 years ago

0.1.1

11 years ago

0.1.0

11 years ago