Skip to content

Commit

Permalink
Fixed parameters for strptime_l.
Browse files Browse the repository at this point in the history
  • Loading branch information
SigmundVik committed Apr 11, 2012
1 parent 632219b commit 9f94181
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/library.js
Original file line number Diff line number Diff line change
Expand Up @@ -5358,9 +5358,9 @@ LibraryManager.library = {
return 0;
},
strptime_l__deps: ['strptime'],
strptime_l: function(s, maxsize, format, timeptr, locale) {
strptime_l: function(buf, format, tm, locale) {
// TODO: Should depend on the given locale.
return _strptime(s, maxsize, format, timeptr);
return _strptime(buf, format, tm);
},

getdate: function(string) {
Expand Down

0 comments on commit 9f94181

Please sign in to comment.