ka2er / dont-make-hours Goto Github PK
View Code? Open in Web Editor NEWis a nodejs web server to track work hours at office where we use eTemptation
is a nodejs web server to track work hours at office where we use eTemptation
"Week extra hours (rel, max = 5) : -1h11 --- 7.14=>6h3"
mettre les minutes sur 2 digit
config.json is deleted after update
***** Hit received *****
PID found :1348841717042
frame found : menu.jsp?v=1348841717511
JS user found : 0018709429
1st day of week is :Mon Sep 24 2012
1st day of week is :Mon Sep 17 2012
/Users/LTA/Dev/eTempatation/node_modules/dont-make-hours/etemp.js:163
var t = x.split('-');
^
TypeError: Cannot call method 'split' of undefined
at Etemp.getTodayWorkTime (/Users/LTA/Dev/eTempatation/node_modules/dont-make-hours/etemp.js:163:13)
at Etemp.getWeekData (/Users/LTA/Dev/eTempatation/node_modules/dont-make-hours/etemp.js:197:3)
at Etemp.getTodayWorkTime (/Users/LTA/Dev/eTempatation/node_modules/dont-make-hours/etemp.js:150:7)
at Object.http.createServer.async.series.today (/Users/LTA/Dev/eTempatation/node_modules/dont-make-hours/server.js:55:8)
at async.series (/Users/LTA/Dev/eTempatation/node_modules/dont-make-hours/node_modules/async/lib/async.js:499:25)
at async.forEachSeries.iterate (/Users/LTA/Dev/eTempatation/node_modules/dont-make-hours/node_modules/async/lib/async.js:108:13)
at async.forEachSeries.iterate (/Users/LTA/Dev/eTempatation/node_modules/dont-make-hours/node_modules/async/lib/async.js:119:25)
at async.series (/Users/LTA/Dev/eTempatation/node_modules/dont-make-hours/node_modules/async/lib/async.js:505:21)
at Etemp.getWeekHours (/Users/LTA/Dev/eTempatation/node_modules/dont-make-hours/etemp.js:137:3)
at Request.Etemp.getWeekData as _callback
LTA@iMac-Laurent-TAUPIAC ~/Dev/eTempatation/node_modules/dont-make-hours $ node server.js
init conf done
***** Hit received *****
PID found :1348841203105
frame found : menu.jsp?v=1348841203495
JS user found : 0018447751
/Users/LTA/Dev/eTempatation/node_modules/dont-make-hours/etemp.js:204
var t_date = $(b).find('field[name="DATE"]').attr('value').split('/');
^
TypeError: Cannot call method 'split' of undefined
at Request.Etemp.getWeekData as _callback
at Request.init.self.callback (/Users/LTA/Dev/eTempatation/node_modules/dont-make-hours/node_modules/request/main.js:122:22)
at Request.EventEmitter.emit (events.js:96:17)
at Request. (/Users/LTA/Dev/eTempatation/node_modules/dont-make-hours/node_modules/request/main.js:655:16)
at Request.EventEmitter.emit (events.js:123:20)
at IncomingMessage.Request.start.self.req.self.httpModule.request.buffer (/Users/LTA/Dev/eTempatation/node_modules/dont-make-hours/node_modules/request/main.js:617:14)
at IncomingMessage.EventEmitter.emit (events.js:123:20)
at IncomingMessage._emitEnd (http.js:366:10)
at HTTPParser.parserOnMessageComplete as onMessageComplete
at Socket.socketOnData as ondata
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.