Completely new model for computing whether a moment is valid or not. Also added parsing flags to allow checking specific issues during parsing.
.format()
now returns Ivalid Date
for invalid moments. Read #1140 for
<!doctype html> | |
<html> | |
<head></head> | |
<body> | |
<pre></pre> | |
<script> | |
var names = [ | |
'Μάρτιος', | |
'Μάιος', | |
'Ιούνιος', |
Completely new model for computing whether a moment is valid or not. Also added parsing flags to allow checking specific issues during parsing.
.format()
now returns Ivalid Date
for invalid moments. Read #1140 for
<h2>{{ custom }}</h2> |
setxkbmap \ | |
-layout 'us,bg' \ | |
-variant ',phonetic' \ | |
-option '' \ | |
-option 'terminate:ctrl_alt_bksp' \ | |
-option 'ctrl:nocaps' \ | |
-option "grp:alt_shift_toggle" |
% ghc-pkg list | |
/usr/lib/ghc-7.6.1/package.conf.d | |
Cabal-1.16.0 | |
array-0.4.0.1 | |
base-4.6.0.0 | |
bin-package-db-0.0.0.0 | |
binary-0.5.1.1 | |
bytestring-0.10.0.0 | |
containers-0.5.0.0 | |
deepseq-1.3.0.1 |
fs = require 'fs' | |
fileContent = fs.readFileSync process.argv[2], 'utf-8' | |
res = fileContent.replace /((\\x[0-9A-F][0-9A-F])+)|([\s\S])/g, -> | |
if arguments[3]? | |
new Buffer(arguments[3], 'utf-8').toString('hex') | |
else | |
arguments[1].replace(/\\x/g, '').toLowerCase() |
var crypto = require('crypto') | |
var rep = function(times, elem) { | |
var res = new Array(times); | |
for (var i = 0; i < times; ++i) { | |
res[i] = elem; | |
} | |
return res; | |
}; |
✖ create - six digit years | |
Assertion Message: parse BC 270,001 | |
AssertionError: -270001 == -270000 | |
at Object.assertWrapper [as equal] (/home/iskren/src/moment/node_modules/nodeunit/lib/types.js:83:39) | |
at Object.exports.create.six digit years (/home/iskren/src/moment/test/moment/create.js:320:14) | |
at Object.wrapTest (/home/iskren/src/moment/node_modules/nodeunit/lib/core.js:235:16) | |
at Object.wrapTest (/home/iskren/src/moment/node_modules/nodeunit/lib/core.js:235:16) | |
at wrapTest (/home/iskren/src/moment/node_modules/nodeunit/lib/core.js:235:16) | |
at Object.exports.runTest (/home/iskren/src/moment/node_modules/nodeunit/lib/core.js:69:9) |
#include "zmq.h" | |
#include <stdio.h> | |
#include <string.h> | |
#include <unistd.h> | |
int main(void) | |
{ | |
void *context = zmq_init (1); |
// Least-recently used (LRU) queue device in Node.js | |
var startClientsAndWorkersNowait = true | |
, terminate = 'skip'; // 'immediately', 'later', 'skip' | |
var numberOfClients = 10 | |
, numberOfWorkers = 3; | |
var zmq = require('zmq') | |
, frontend = zmq.socket('router') |