aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSigmund Vik <sigmund_vik@yahoo.com>2012-04-11 22:08:24 +0200
committerSigmund Vik <sigmund_vik@yahoo.com>2012-04-11 22:08:24 +0200
commit632219bc02a18766cda134e79346dfcfc79913b5 (patch)
tree8586ca57f93b8f223f80706d4b29cf27afeee180
parentcb6f143622cb6cad1098816f63c802a9528d3646 (diff)
Added stub for strptime_l to library.js
-rw-r--r--src/library.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/library.js b/src/library.js
index 58bd124f..08f4d755 100644
--- a/src/library.js
+++ b/src/library.js
@@ -5357,6 +5357,11 @@ LibraryManager.library = {
// TODO: Implement.
return 0;
},
+ strptime_l__deps: ['strptime'],
+ strptime_l: function(s, maxsize, format, timeptr, locale) {
+ // TODO: Should depend on the given locale.
+ return _strptime(s, maxsize, format, timeptr);
+ },
getdate: function(string) {
// struct tm *getdate(const char *string);