Skip to content

Commit

Permalink
DATE
Browse files Browse the repository at this point in the history
  • Loading branch information
agershun committed Dec 22, 2014
1 parent f3eea62 commit 152508e
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 8 deletions.
9 changes: 8 additions & 1 deletion alasql.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion alasql.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion alasql.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion console/alasql.min.js

Large diffs are not rendered by default.

9 changes: 8 additions & 1 deletion dist/alasql.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/alasql.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/alasql.min.js

Large diffs are not rendered by default.

9 changes: 8 additions & 1 deletion src/61date.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@
// (c) 2014, Andrey Gershun
//

/*
alasql.fn.Date = Date;
alasql.fn.Number = Number;
alasql.fn.String = String;
alasql.fn.Boolean = Boolean;
*/

stdfn.DATE = Date;

stdfn.NOW = function(){
var d = new Date();
Expand All @@ -12,7 +20,6 @@ stdfn.NOW = function(){
return s;
};

stdfn.Date = Date;

stdfn.SECOND = function(d){
d = new Date(d);
Expand Down

0 comments on commit 152508e

Please sign in to comment.