]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - cgi-bin/var.c
Load cups into easysw/current.
[thirdparty/cups.git] / cgi-bin / var.c
index 4a1a214a7fcf43eab45d7bc0cced76d0e70850c9..177e883b7e80023f42e832f2143937427a799ce6 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: var.c 4869 2005-12-06 02:43:40Z mike $"
+ * "$Id: var.c 5331 2006-03-23 21:21:19Z mike $"
  *
  *   CGI form variable and array functions.
  *
@@ -239,6 +239,12 @@ cgiInitialize(void)
 
   cupsSetPasswordCB(cgi_passwd);
 
+ /*
+  * Set the locale so that times, etc. are formatted properly...
+  */
+
+  setlocale(LC_ALL, "");
+
 #ifdef DEBUG
  /*
   * Disable output buffering to find bugs...
@@ -1020,5 +1026,5 @@ cgi_unlink_file(void)
 
 
 /*
- * End of "$Id: var.c 4869 2005-12-06 02:43:40Z mike $".
+ * End of "$Id: var.c 5331 2006-03-23 21:21:19Z mike $".
  */