strftime icon indicating copy to clipboard operation
strftime copied to clipboard

strftime for JavaScript

Results 9 strftime issues
Sort by recently updated
recently updated
newest added

Not sure whether this was intended, but during the fix of #84 you introduced a `let` (which is not available in ES5). This may break compatibility when doing a patch...

I have problem with my unit test. Example test for reproduce problem: ```javascript const chai = require('chai'); const sinon = require('sinon'); const strftime = require('strftime'); let { expect } =...

~~I'm laying out some text with multiple dates and a format argument. I would like to know the maximum size of a formatted date. Calculating the size of all my...

I'm not able to use the module. Node process logs error saying `date.getTime()` (Line 330 of strftime.js) is not a function and if I change that, it logs error on...

README.md description is NOT correct: > X: equivalent to %D in en_US (based on locale) > x: equivalent to %T in en_US (based on locale) strftime.js implementation: ``` en_US: {...

Before my last update `%X` resolved to a 24-hour timestring, now it gets me a 12-hour timestamp with AM/PM at the end. While this feels right, all other `strftime` implementations...

It would be nice, if `strftime.localizeByIdentifier()` also worked with just a 2-character language code, i.e. "de" instead of "de_DE". And maybe something so we don't have to specify the difference...

In unit tests we create the test date using `new Date(intValue)` constructor which creates date in UTC format. ``` js // Tue, 07 Jun 2011 18:51:45 GMT , TestTime =...

I'm using it in my meteor app now. Couldn't find it in atmosphere.js. It'd be nice if this is readily available as a package.