Remove trailing whitespace
authorMichael M Slusarz <slusarz@curecanti.org>
Thu, 30 Jul 2009 22:07:36 +0000 (16:07 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Fri, 31 Jul 2009 04:40:21 +0000 (22:40 -0600)
47 files changed:
imp/ajax.php
kronolith/js/src/ar-SY.js
kronolith/js/src/bg-BG.js
kronolith/js/src/bs-BA.js
kronolith/js/src/ca-ES.js
kronolith/js/src/calendar-panel.js
kronolith/js/src/cs-CZ.js
kronolith/js/src/da-DK.js
kronolith/js/src/date.js
kronolith/js/src/de-DE.js
kronolith/js/src/el-GR.js
kronolith/js/src/en-US.js
kronolith/js/src/es-ES.js
kronolith/js/src/et-EE.js
kronolith/js/src/eu-ES.js
kronolith/js/src/extras.js
kronolith/js/src/fa-IR.js
kronolith/js/src/fi-FI.js
kronolith/js/src/fr-FR.js
kronolith/js/src/gl-ES.js
kronolith/js/src/he-IL.js
kronolith/js/src/hu-HU.js
kronolith/js/src/id-ID.js
kronolith/js/src/is-IS.js
kronolith/js/src/it-IT.js
kronolith/js/src/ja-JP.js
kronolith/js/src/ko-KR.js
kronolith/js/src/lt-LT.js
kronolith/js/src/lv-LV.js
kronolith/js/src/mk-MK.js
kronolith/js/src/nb-NO.js
kronolith/js/src/nl-NL.js
kronolith/js/src/nn-NO.js
kronolith/js/src/pl-PL.js
kronolith/js/src/pt-BR.js
kronolith/js/src/pt-PT.js
kronolith/js/src/ro-RO.js
kronolith/js/src/ru-RU.js
kronolith/js/src/sk-SK.js
kronolith/js/src/sl-SI.js
kronolith/js/src/sv-SE.js
kronolith/js/src/tagactions.js
kronolith/js/src/time.js
kronolith/js/src/tr-TR.js
kronolith/js/src/uk-UA.js
kronolith/js/src/zh-CN.js
kronolith/js/src/zh-TW.js

index ad59f76..8261aab 100644 (file)
@@ -577,7 +577,8 @@ case 'ShowPortal':
     foreach ($dimp_block_list as $title => $block) {
         if ($block['ob'] instanceof Horde_Block) {
             $app = $block['ob']->getApp();
-            $content = (empty($css_load[$app]) ? Horde::styleSheetLink($app, '', false) : '') . $block['ob']->getContent();
+            // TODO: Fix CSS.
+            $content = $block['ob']->getContent();
             $css_load[$app] = true;
             // Don't do substitutions on our own blocks.
             if ($app != 'imp') {
index 3178812..fe7d58d 100644 (file)
@@ -3,13 +3,13 @@ Date.CultureInfo = {
     name: "ar-SY",
     englishName: "Arabic (Syria)",
     nativeName: "العربية (سوريا)",
-    
+
     /* Day Name Strings */
     dayNames: ["الاحد", "الاثنين", "الثلاثاء", "الاربعاء", "الخميس", "الجمعة", "السبت"],
     abbreviatedDayNames: ["الاحد", "الاثنين", "الثلاثاء", "الاربعاء", "الخميس", "الجمعة", "السبت"],
     shortestDayNames: ["أ", "ا", "ث", "أ", "خ", "ج", "س"],
     firstLetterDayNames: ["أ", "ا", "ث", "أ", "خ", "ج", "س"],
-    
+
     /* Month Name Strings */
     monthNames: ["كانون الثاني", "شباط", "آذار", "نيسان", "أيار", "حزيران", "تموز", "آب", "أيلول", "تشرين الأول", "تشرين الثاني", "كانون الأول"],
     abbreviatedMonthNames: ["كانون الثاني", "شباط", "آذار", "نيسان", "أيار", "حزيران", "تموز", "آب", "أيلول", "تشرين الأول", "تشرين الثاني", "كانون الأول"],
@@ -20,15 +20,15 @@ Date.CultureInfo = {
 
     firstDayOfWeek: 6,
     twoDigitYearMax: 2029,
-    
+
     /**
-     * The dateElementOrder is based on the order of the 
-     * format specifiers in the formatPatterns.DatePattern. 
+     * The dateElementOrder is based on the order of the
+     * format specifiers in the formatPatterns.DatePattern.
      *
      * Example:
      <pre>
      shortDatePattern    dateElementOrder
-     ------------------  ---------------- 
+     ------------------  ----------------
      "M/d/yyyy"          "mdy"
      "dd/MM/yyyy"        "dmy"
      "yyyy-MM-dd"        "ymd"
@@ -39,7 +39,7 @@ Date.CultureInfo = {
      * string being parsed.
      */
     dateElementOrder: "dmy",
-    
+
     /* Standard date and time format patterns */
     formatPatterns: {
         shortDate: "dd/MM/yyyy",
@@ -56,31 +56,31 @@ Date.CultureInfo = {
 
     /**
      * NOTE: If a string format is not parsing correctly, but
-     * you would expect it parse, the problem likely lies below. 
-     * 
+     * you would expect it parse, the problem likely lies below.
+     *
      * The following regex patterns control most of the string matching
      * within the parser.
-     * 
+     *
      * The Month name and Day name patterns were automatically generated
-     * and in general should be (mostly) correct. 
+     * and in general should be (mostly) correct.
      *
      * Beyond the month and day name patterns are natural language strings.
      * Example: "next", "today", "months"
      *
-     * These natural language string may NOT be correct for this culture. 
+     * These natural language string may NOT be correct for this culture.
      * If they are not correct, please translate and edit this file
-     * providing the correct regular expression pattern. 
+     * providing the correct regular expression pattern.
      *
      * If you modify this file, please post your revised CultureInfo file
      * to the Datejs Forum located at http://www.datejs.com/forums/.
      *
      * Please mark the subject of the post with [CultureInfo]. Example:
      *    Subject: [CultureInfo] Translated "da-DK" Danish(Denmark)
-     * 
+     *
      * We will add the modified patterns to the master source files.
      *
-     * As well, please review the list of "Future Strings" section below. 
-     */        
+     * As well, please review the list of "Future Strings" section below.
+     */
     regexPatterns: {
         jan: /^كانون الثاني/i,
         feb: /^شباط/i,
@@ -107,12 +107,12 @@ Date.CultureInfo = {
         past: /^last|past|prev(ious)?/i,
         add: /^(\+|aft(er)?|from|hence)/i,
         subtract: /^(\-|bef(ore)?|ago)/i,
-        
+
         yesterday: /^yes(terday)?/i,
         today: /^t(od(ay)?)?/i,
         tomorrow: /^tom(orrow)?/i,
         now: /^n(ow)?/i,
-        
+
         millisecond: /^ms|milli(second)?s?/i,
         second: /^sec(ond)?s?/i,
         minute: /^mn|min(ute)?s?/i,
@@ -121,7 +121,7 @@ Date.CultureInfo = {
         month: /^m(onth)?s?/i,
         day: /^d(ay)?s?/i,
         year: /^y(ear)?s?/i,
-               
+
         shortMeridian: /^(a|p)/i,
         longMeridian: /^(a\.?m?\.?|p\.?m?\.?)/i,
         timezone: /^((e(s|d)t|c(s|d)t|m(s|d)t|p(s|d)t)|((gmt)?\s*(\+|\-)\s*\d\d\d\d?)|gmt|utc)/i,
@@ -135,12 +135,12 @@ Date.CultureInfo = {
 /********************
  ** Future Strings **
  ********************
- * 
- * The following list of strings may not be currently being used, but 
- * may be incorporated into the Datejs library later. 
+ *
+ * The following list of strings may not be currently being used, but
+ * may be incorporated into the Datejs library later.
  *
  * We would appreciate any help translating the strings below.
- * 
+ *
  * If you modify this file, please post your revised CultureInfo file
  * to the Datejs Forum located at http://www.datejs.com/forums/.
  *
@@ -192,4 +192,4 @@ Date.CultureInfo = {
  * end                 end
  * long                long
  * short               short
- */
\ No newline at end of file
+ */
index d331ea7..0bcf5e5 100644 (file)
@@ -3,13 +3,13 @@ Date.CultureInfo = {
     name: "bg-BG",
     englishName: "Bulgarian (Bulgaria)",
     nativeName: "български (България)",
-    
+
     /* Day Name Strings */
     dayNames: ["неделя", "понеделник", "вторник", "сряда", "четвъртък", "петък", "събота"],
     abbreviatedDayNames: ["Нд", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб"],
     shortestDayNames: ["не", "по", "вт", "ср", "че", "пе", "съ"],
     firstLetterDayNames: ["н", "п", "в", "с", "ч", "п", "с"],
-    
+
     /* Month Name Strings */
     monthNames: ["Януари", "Февруари", "Март", "Април", "Май", "Юни", "Юли", "Август", "Септември", "Октомври", "Ноември", "Декември"],
     abbreviatedMonthNames: ["Януари", "Февруари", "Март", "Април", "Май", "Юни", "Юли", "Август", "Септември", "Октомври", "Ноември", "Декември"],
@@ -20,15 +20,15 @@ Date.CultureInfo = {
 
     firstDayOfWeek: 1,
     twoDigitYearMax: 2029,
-    
+
     /**
-     * The dateElementOrder is based on the order of the 
-     * format specifiers in the formatPatterns.DatePattern. 
+     * The dateElementOrder is based on the order of the
+     * format specifiers in the formatPatterns.DatePattern.
      *
      * Example:
      <pre>
      shortDatePattern    dateElementOrder
-     ------------------  ---------------- 
+     ------------------  ----------------
      "M/d/yyyy"          "mdy"
      "dd/MM/yyyy"        "dmy"
      "yyyy-MM-dd"        "ymd"
@@ -39,7 +39,7 @@ Date.CultureInfo = {
      * string being parsed.
      */
     dateElementOrder: "dmy",
-    
+
     /* Standard date and time format patterns */
     formatPatterns: {
         shortDate: "dd.M.yyyy 'г.'",
@@ -56,31 +56,31 @@ Date.CultureInfo = {
 
     /**
      * NOTE: If a string format is not parsing correctly, but
-     * you would expect it parse, the problem likely lies below. 
-     * 
+     * you would expect it parse, the problem likely lies below.
+     *
      * The following regex patterns control most of the string matching
      * within the parser.
-     * 
+     *
      * The Month name and Day name patterns were automatically generated
-     * and in general should be (mostly) correct. 
+     * and in general should be (mostly) correct.
      *
      * Beyond the month and day name patterns are natural language strings.
      * Example: "next", "today", "months"
      *
-     * These natural language string may NOT be correct for this culture. 
+     * These natural language string may NOT be correct for this culture.
      * If they are not correct, please translate and edit this file
-     * providing the correct regular expression pattern. 
+     * providing the correct regular expression pattern.
      *
      * If you modify this file, please post your revised CultureInfo file
      * to the Datejs Forum located at http://www.datejs.com/forums/.
      *
      * Please mark the subject of the post with [CultureInfo]. Example:
      *    Subject: [CultureInfo] Translated "da-DK" Danish(Denmark)
-     * 
+     *
      * We will add the modified patterns to the master source files.
      *
-     * As well, please review the list of "Future Strings" section below. 
-     */        
+     * As well, please review the list of "Future Strings" section below.
+     */
     regexPatterns: {
         jan: /^януари/i,
         feb: /^февруари/i,
@@ -107,12 +107,12 @@ Date.CultureInfo = {
         past: /^last|past|prev(ious)?/i,
         add: /^(\+|aft(er)?|from|hence)/i,
         subtract: /^(\-|bef(ore)?|ago)/i,
-        
+
         yesterday: /^yes(terday)?/i,
         today: /^t(od(ay)?)?/i,
         tomorrow: /^tom(orrow)?/i,
         now: /^n(ow)?/i,
-        
+
         millisecond: /^ms|milli(second)?s?/i,
         second: /^sec(ond)?s?/i,
         minute: /^mn|min(ute)?s?/i,
@@ -121,7 +121,7 @@ Date.CultureInfo = {
         month: /^m(onth)?s?/i,
         day: /^d(ay)?s?/i,
         year: /^y(ear)?s?/i,
-               
+
         shortMeridian: /^(a|p)/i,
         longMeridian: /^(a\.?m?\.?|p\.?m?\.?)/i,
         timezone: /^((e(s|d)t|c(s|d)t|m(s|d)t|p(s|d)t)|((gmt)?\s*(\+|\-)\s*\d\d\d\d?)|gmt|utc)/i,
@@ -135,12 +135,12 @@ Date.CultureInfo = {
 /********************
  ** Future Strings **
  ********************
- * 
- * The following list of strings may not be currently being used, but 
- * may be incorporated into the Datejs library later. 
+ *
+ * The following list of strings may not be currently being used, but
+ * may be incorporated into the Datejs library later.
  *
  * We would appreciate any help translating the strings below.
- * 
+ *
  * If you modify this file, please post your revised CultureInfo file
  * to the Datejs Forum located at http://www.datejs.com/forums/.
  *
@@ -192,4 +192,4 @@ Date.CultureInfo = {
  * end                 end
  * long                long
  * short               short
- */
\ No newline at end of file
+ */
index a63ccd1..cfaf5b9 100644 (file)
@@ -3,13 +3,13 @@ Date.CultureInfo = {
     name: "bs-Latn-BA",
     englishName: "Bosnian (Bosnia and Herzegovina)",
     nativeName: "bosanski (Bosna i Hercegovina)",
-    
+
     /* Day Name Strings */
     dayNames: ["nedjelja", "ponedjeljak", "utorak", "srijeda", "četvrtak", "petak", "subota"],
     abbreviatedDayNames: ["ned", "pon", "uto", "sri", "čet", "pet", "sub"],
     shortestDayNames: ["ned", "pon", "uto", "sri", "čet", "pet", "sub"],
     firstLetterDayNames: ["n", "p", "u", "s", "č", "p", "s"],
-    
+
     /* Month Name Strings */
     monthNames: ["januar", "februar", "mart", "april", "maj", "jun", "jul", "avgust", "septembar", "oktobar", "novembar", "decembar"],
     abbreviatedMonthNames: ["jan", "feb", "mar", "apr", "maj", "jun", "jul", "avg", "sep", "okt", "nov", "dec"],
@@ -20,15 +20,15 @@ Date.CultureInfo = {
 
     firstDayOfWeek: 1,
     twoDigitYearMax: 2029,
-    
+
     /**
-     * The dateElementOrder is based on the order of the 
-     * format specifiers in the formatPatterns.DatePattern. 
+     * The dateElementOrder is based on the order of the
+     * format specifiers in the formatPatterns.DatePattern.
      *
      * Example:
      <pre>
      shortDatePattern    dateElementOrder
-     ------------------  ---------------- 
+     ------------------  ----------------
      "M/d/yyyy"          "mdy"
      "dd/MM/yyyy"        "dmy"
      "yyyy-MM-dd"        "ymd"
@@ -39,7 +39,7 @@ Date.CultureInfo = {
      * string being parsed.
      */
     dateElementOrder: "dmy",
-    
+
     /* Standard date and time format patterns */
     formatPatterns: {
         shortDate: "d.M.yyyy",
@@ -56,31 +56,31 @@ Date.CultureInfo = {
 
     /**
      * NOTE: If a string format is not parsing correctly, but
-     * you would expect it parse, the problem likely lies below. 
-     * 
+     * you would expect it parse, the problem likely lies below.
+     *
      * The following regex patterns control most of the string matching
      * within the parser.
-     * 
+     *
      * The Month name and Day name patterns were automatically generated
-     * and in general should be (mostly) correct. 
+     * and in general should be (mostly) correct.
      *
      * Beyond the month and day name patterns are natural language strings.
      * Example: "next", "today", "months"
      *
-     * These natural language string may NOT be correct for this culture. 
+     * These natural language string may NOT be correct for this culture.
      * If they are not correct, please translate and edit this file
-     * providing the correct regular expression pattern. 
+     * providing the correct regular expression pattern.
      *
      * If you modify this file, please post your revised CultureInfo file
      * to the Datejs Forum located at http://www.datejs.com/forums/.
      *
      * Please mark the subject of the post with [CultureInfo]. Example:
      *    Subject: [CultureInfo] Translated "da-DK" Danish(Denmark)
-     * 
+     *
      * We will add the modified patterns to the master source files.
      *
-     * As well, please review the list of "Future Strings" section below. 
-     */        
+     * As well, please review the list of "Future Strings" section below.
+     */
     regexPatterns: {
         jan: /^jan(uar)?/i,
         feb: /^feb(ruar)?/i,
@@ -107,12 +107,12 @@ Date.CultureInfo = {
         past: /^last|past|prev(ious)?/i,
         add: /^(\+|aft(er)?|from|hence)/i,
         subtract: /^(\-|bef(ore)?|ago)/i,
-        
+
         yesterday: /^yes(terday)?/i,
         today: /^t(od(ay)?)?/i,
         tomorrow: /^tom(orrow)?/i,
         now: /^n(ow)?/i,
-        
+
         millisecond: /^ms|milli(second)?s?/i,
         second: /^sec(ond)?s?/i,
         minute: /^mn|min(ute)?s?/i,
@@ -121,7 +121,7 @@ Date.CultureInfo = {
         month: /^m(onth)?s?/i,
         day: /^d(ay)?s?/i,
         year: /^y(ear)?s?/i,
-               
+
         shortMeridian: /^(a|p)/i,
         longMeridian: /^(a\.?m?\.?|p\.?m?\.?)/i,
         timezone: /^((e(s|d)t|c(s|d)t|m(s|d)t|p(s|d)t)|((gmt)?\s*(\+|\-)\s*\d\d\d\d?)|gmt|utc)/i,
@@ -135,12 +135,12 @@ Date.CultureInfo = {
 /********************
  ** Future Strings **
  ********************
- * 
- * The following list of strings may not be currently being used, but 
- * may be incorporated into the Datejs library later. 
+ *
+ * The following list of strings may not be currently being used, but
+ * may be incorporated into the Datejs library later.
  *
  * We would appreciate any help translating the strings below.
- * 
+ *
  * If you modify this file, please post your revised CultureInfo file
  * to the Datejs Forum located at http://www.datejs.com/forums/.
  *
@@ -192,4 +192,4 @@ Date.CultureInfo = {
  * end                 end
  * long                long
  * short               short
- */
\ No newline at end of file
+ */
index d2e426b..ad306aa 100644 (file)
@@ -3,13 +3,13 @@ Date.CultureInfo = {
     name: "ca-ES",
     englishName: "Catalan (Catalan)",
     nativeName: "català (català)",
-    
+
     /* Day Name Strings */
     dayNames: ["diumenge", "dilluns", "dimarts", "dimecres", "dijous", "divendres", "dissabte"],
     abbreviatedDayNames: ["dg.", "dl.", "dt.", "dc.", "dj.", "dv.", "ds."],
     shortestDayNames: ["dg", "dl", "dt", "dc", "dj", "dv", "ds"],
     firstLetterDayNames: ["d", "d", "d", "d", "d", "d", "d"],
-    
+
     /* Month Name Strings */
     monthNames: ["gener", "febrer", "març", "abril", "maig", "juny", "juliol", "agost", "setembre", "octubre", "novembre", "desembre"],
     abbreviatedMonthNames: ["gen", "feb", "març", "abr", "maig", "juny", "jul", "ag", "set", "oct", "nov", "des"],
@@ -20,15 +20,15 @@ Date.CultureInfo = {
 
     firstDayOfWeek: 1,
     twoDigitYearMax: 2029,
-    
+
     /**
-     * The dateElementOrder is based on the order of the 
-     * format specifiers in the formatPatterns.DatePattern. 
+     * The dateElementOrder is based on the order of the
+     * format specifiers in the formatPatterns.DatePattern.
      *
      * Example:
      <pre>
      shortDatePattern    dateElementOrder
-     ------------------  ---------------- 
+     ------------------  ----------------
      "M/d/yyyy"          "mdy"
      "dd/MM/yyyy"        "dmy"
      "yyyy-MM-dd"        "ymd"
@@ -39,7 +39,7 @@ Date.CultureInfo = {
      * string being parsed.
      */
     dateElementOrder: "dmy",
-    
+
     /* Standard date and time format patterns */
     formatPatterns: {
         shortDate: "dd/MM/yyyy",
@@ -56,31 +56,31 @@ Date.CultureInfo = {
 
     /**
      * NOTE: If a string format is not parsing correctly, but
-     * you would expect it parse, the problem likely lies below. 
-     * 
+     * you would expect it parse, the problem likely lies below.
+     *
      * The following regex patterns control most of the string matching
      * within the parser.
-     * 
+     *
      * The Month name and Day name patterns were automatically generated
-     * and in general should be (mostly) correct. 
+     * and in general should be (mostly) correct.
      *
      * Beyond the month and day name patterns are natural language strings.
      * Example: "next", "today", "months"
      *
-     * These natural language string may NOT be correct for this culture. 
+     * These natural language string may NOT be correct for this culture.
      * If they are not correct, please translate and edit this file
-     * providing the correct regular expression pattern. 
+     * providing the correct regular expression pattern.
      *
      * If you modify this file, please post your revised CultureInfo file
      * to the Datejs Forum located at http://www.datejs.com/forums/.
      *
      * Please mark the subject of the post with [CultureInfo]. Example:
      *    Subject: [CultureInfo] Translated "da-DK" Danish(Denmark)
-     * 
+     *
      * We will add the modified patterns to the master source files.
      *
-     * As well, please review the list of "Future Strings" section below. 
-     */        
+     * As well, please review the list of "Future Strings" section below.
+     */
     regexPatterns: {
         jan: /^gen(er)?/i,
         feb: /^feb(rer)?/i,
@@ -107,12 +107,12 @@ Date.CultureInfo = {
         past: /^last|past|prev(ious)?/i,
         add: /^(\+|aft(er)?|from|hence)/i,
         subtract: /^(\-|bef(ore)?|ago)/i,
-        
+
         yesterday: /^yes(terday)?/i,
         today: /^t(od(ay)?)?/i,
         tomorrow: /^tom(orrow)?/i,
         now: /^n(ow)?/i,
-        
+
         millisecond: /^ms|milli(second)?s?/i,
         second: /^sec(ond)?s?/i,
         minute: /^mn|min(ute)?s?/i,
@@ -121,7 +121,7 @@ Date.CultureInfo = {
         month: /^m(onth)?s?/i,
         day: /^d(ay)?s?/i,
         year: /^y(ear)?s?/i,
-               
+
         shortMeridian: /^(a|p)/i,
         longMeridian: /^(a\.?m?\.?|p\.?m?\.?)/i,
         timezone: /^((e(s|d)t|c(s|d)t|m(s|d)t|p(s|d)t)|((gmt)?\s*(\+|\-)\s*\d\d\d\d?)|gmt|utc)/i,
@@ -135,12 +135,12 @@ Date.CultureInfo = {
 /********************
  ** Future Strings **
  ********************
- * 
- * The following list of strings may not be currently being used, but 
- * may be incorporated into the Datejs library later. 
+ *
+ * The following list of strings may not be currently being used, but
+ * may be incorporated into the Datejs library later.
  *
  * We would appreciate any help translating the strings below.
- * 
+ *
  * If you modify this file, please post your revised CultureInfo file
  * to the Datejs Forum located at http://www.datejs.com/forums/.
  *
@@ -192,4 +192,4 @@ Date.CultureInfo = {
  * end                 end
  * long                long
  * short               short
- */
\ No newline at end of file
+ */
index 96fac0c..824bb3f 100644 (file)
@@ -15,7 +15,7 @@ function sbarToggle()
 
 function removeTag(tagid)
 {
-       
+
 }
 document.observe('dom:loaded', function() {
     $$('#pageControlsInner .checkbox').invoke('observe', 'click', function() {
index 1c573d3..bb92038 100644 (file)
@@ -3,13 +3,13 @@ Date.CultureInfo = {
     name: "cs-CZ",
     englishName: "Czech (Czech Republic)",
     nativeName: "čeština (Česká republika)",
-    
+
     /* Day Name Strings */
     dayNames: ["neděle", "pondělí", "úterý", "středa", "čtvrtek", "pátek", "sobota"],
     abbreviatedDayNames: ["ne", "po", "út", "st", "čt", "pá", "so"],
     shortestDayNames: ["ne", "po", "út", "st", "čt", "pá", "so"],
     firstLetterDayNames: ["n", "p", "ú", "s", "č", "p", "s"],
-    
+
     /* Month Name Strings */
     monthNames: ["leden", "únor", "březen", "duben", "květen", "červen", "červenec", "srpen", "září", "říjen", "listopad", "prosinec"],
     abbreviatedMonthNames: ["I", "II", "III", "IV", "V", "VI", "VII", "VIII", "IX", "X", "XI", "XII"],
@@ -20,15 +20,15 @@ Date.CultureInfo = {
 
     firstDayOfWeek: 1,
     twoDigitYearMax: 2029,
-    
+
     /**
-     * The dateElementOrder is based on the order of the 
-     * format specifiers in the formatPatterns.DatePattern. 
+     * The dateElementOrder is based on the order of the
+     * format specifiers in the formatPatterns.DatePattern.
      *
      * Example:
      <pre>
      shortDatePattern    dateElementOrder
-     ------------------  ---------------- 
+     ------------------  ----------------
      "M/d/yyyy"          "mdy"
      "dd/MM/yyyy"        "dmy"
      "yyyy-MM-dd"        "ymd"
@@ -39,7 +39,7 @@ Date.CultureInfo = {
      * string being parsed.
      */
     dateElementOrder: "dmy",
-    
+
     /* Standard date and time format patterns */
     formatPatterns: {
         shortDate: "d.M.yyyy",
@@ -56,31 +56,31 @@ Date.CultureInfo = {
 
     /**
      * NOTE: If a string format is not parsing correctly, but
-     * you would expect it parse, the problem likely lies below. 
-     * 
+     * you would expect it parse, the problem likely lies below.
+     *
      * The following regex patterns control most of the string matching
      * within the parser.
-     * 
+     *
      * The Month name and Day name patterns were automatically generated
-     * and in general should be (mostly) correct. 
+     * and in general should be (mostly) correct.
      *
      * Beyond the month and day name patterns are natural language strings.
      * Example: "next", "today", "months"
      *
-     * These natural language string may NOT be correct for this culture. 
+     * These natural language string may NOT be correct for this culture.
      * If they are not correct, please translate and edit this file
-     * providing the correct regular expression pattern. 
+     * providing the correct regular expression pattern.
      *
      * If you modify this file, please post your revised CultureInfo file
      * to the Datejs Forum located at http://www.datejs.com/forums/.
      *
      * Please mark the subject of the post with [CultureInfo]. Example:
      *    Subject: [CultureInfo] Translated "da-DK" Danish(Denmark)
-     * 
+     *
      * We will add the modified patterns to the master source files.
      *
-     * As well, please review the list of "Future Strings" section below. 
-     */        
+     * As well, please review the list of "Future Strings" section below.
+     */
     regexPatterns: {
         jan: /^leden/i,
         feb: /^únor/i,
@@ -107,12 +107,12 @@ Date.CultureInfo = {
         past: /^last|past|prev(ious)?/i,
         add: /^(\+|aft(er)?|from|hence)/i,
         subtract: /^(\-|bef(ore)?|ago)/i,
-        
+
         yesterday: /^yes(terday)?/i,
         today: /^t(od(ay)?)?/i,
         tomorrow: /^tom(orrow)?/i,
         now: /^n(ow)?/i,
-        
+
         millisecond: /^ms|milli(second)?s?/i,
         second: /^sec(ond)?s?/i,
         minute: /^mn|min(ute)?s?/i,
@@ -121,7 +121,7 @@ Date.CultureInfo = {
         month: /^m(onth)?s?/i,
         day: /^d(ay)?s?/i,
         year: /^y(ear)?s?/i,
-               
+
         shortMeridian: /^(a|p)/i,
         longMeridian: /^(a\.?m?\.?|p\.?m?\.?)/i,
         timezone: /^((e(s|d)t|c(s|d)t|m(s|d)t|p(s|d)t)|((gmt)?\s*(\+|\-)\s*\d\d\d\d?)|gmt|utc)/i,
@@ -135,12 +135,12 @@ Date.CultureInfo = {
 /********************
  ** Future Strings **
  ********************
- * 
- * The following list of strings may not be currently being used, but 
- * may be incorporated into the Datejs library later. 
+ *
+ * The following list of strings may not be currently being used, but
+ * may be incorporated into the Datejs library later.
  *
  * We would appreciate any help translating the strings below.
- * 
+ *
  * If you modify this file, please post your revised CultureInfo file
  * to the Datejs Forum located at http://www.datejs.com/forums/.
  *
@@ -192,4 +192,4 @@ Date.CultureInfo = {
  * end                 end
  * long                long
  * short               short
- */
\ No newline at end of file
+ */
index 7299b5b..9300f90 100644 (file)
@@ -3,13 +3,13 @@ Date.CultureInfo = {
     name: "da-DK",
     englishName: "Danish (Denmark)",
     nativeName: "dansk (Danmark)",
-    
+
     /* Day Name Strings */
     dayNames: ["søndag", "mandag", "tirsdag", "onsdag", "torsdag", "fredag", "lørdag"],
     abbreviatedDayNames: ["sø", "ma", "ti", "on", "to", "fr", "lø"],
     shortestDayNames: ["sø", "ma", "ti", "on", "to", "fr", "lø"],
     firstLetterDayNames: ["s", "m", "t", "o", "t", "f", "l"],
-    
+
     /* Month Name Strings */
     monthNames: ["januar", "februar", "marts", "april", "maj", "juni", "juli", "august", "september", "oktober", "november", "december"],
     abbreviatedMonthNames: ["jan", "feb", "mar", "apr", "maj", "jun", "jul", "aug", "sep", "okt", "nov", "dec"],
@@ -20,15 +20,15 @@ Date.CultureInfo = {
 
     firstDayOfWeek: 1,
     twoDigitYearMax: 2029,
-    
+
     /**
-     * The dateElementOrder is based on the order of the 
-     * format specifiers in the formatPatterns.DatePattern. 
+     * The dateElementOrder is based on the order of the
+     * format specifiers in the formatPatterns.DatePattern.
      *
      * Example:
      <pre>
      shortDatePattern    dateElementOrder
-     ------------------  ---------------- 
+     ------------------  ----------------
      "M/d/yyyy"          "mdy"
      "dd/MM/yyyy"        "dmy"
      "yyyy-MM-dd"        "ymd"
@@ -39,7 +39,7 @@ Date.CultureInfo = {
      * string being parsed.
      */
     dateElementOrder: "dmy",
-    
+
     /* Standard date and time format patterns */
     formatPatterns: {
         shortDate: "dd-MM-yyyy",
@@ -56,31 +56,31 @@ Date.CultureInfo = {
 
     /**
      * NOTE: If a string format is not parsing correctly, but
-     * you would expect it parse, the problem likely lies below. 
-     * 
+     * you would expect it parse, the problem likely lies below.
+     *
      * The following regex patterns control most of the string matching
      * within the parser.
-     * 
+     *
      * The Month name and Day name patterns were automatically generated
-     * and in general should be (mostly) correct. 
+     * and in general should be (mostly) correct.
      *
      * Beyond the month and day name patterns are natural language strings.
      * Example: "next", "today", "months"
      *
-     * These natural language string may NOT be correct for this culture. 
+     * These natural language string may NOT be correct for this culture.
      * If they are not correct, please translate and edit this file
-     * providing the correct regular expression pattern. 
+     * providing the correct regular expression pattern.
      *
      * If you modify this file, please post your revised CultureInfo file
      * to the Datejs Forum located at http://www.datejs.com/forums/.
      *
      * Please mark the subject of the post with [CultureInfo]. Example:
      *    Subject: [CultureInfo] Translated "da-DK" Danish(Denmark)
-     * 
+     *
      * We will add the modified patterns to the master source files.
      *
-     * As well, please review the list of "Future Strings" section below. 
-     */        
+     * As well, please review the list of "Future Strings" section below.
+     */
     regexPatterns: {
         jan: /^jan(uar)?/i,
         feb: /^feb(ruar)?/i,
@@ -107,12 +107,12 @@ Date.CultureInfo = {
         past: /^last|past|prev(ious)?/i,
         add: /^(\+|aft(er)?|from|hence)/i,
         subtract: /^(\-|bef(ore)?|ago)/i,
-        
+
         yesterday: /^yes(terday)?/i,
         today: /^t(od(ay)?)?/i,
         tomorrow: /^tom(orrow)?/i,
         now: /^n(ow)?/i,
-        
+
         millisecond: /^ms|milli(second)?s?/i,
         second: /^sec(ond)?s?/i,
         minute: /^mn|min(ute)?s?/i,
@@ -121,7 +121,7 @@ Date.CultureInfo = {
         month: /^m(onth)?s?/i,
         day: /^d(ay)?s?/i,
         year: /^y(ear)?s?/i,
-               
+
         shortMeridian: /^(a|p)/i,
         longMeridian: /^(a\.?m?\.?|p\.?m?\.?)/i,
         timezone: /^((e(s|d)t|c(s|d)t|m(s|d)t|p(s|d)t)|((gmt)?\s*(\+|\-)\s*\d\d\d\d?)|gmt|utc)/i,
@@ -135,12 +135,12 @@ Date.CultureInfo = {
 /********************
  ** Future Strings **
  ********************
- * 
- * The following list of strings may not be currently being used, but 
- * may be incorporated into the Datejs library later. 
+ *
+ * The following list of strings may not be currently being used, but
+ * may be incorporated into the Datejs library later.
  *
  * We would appreciate any help translating the strings below.
- * 
+ *
  * If you modify this file, please post your revised CultureInfo file
  * to the Datejs Forum located at http://www.datejs.com/forums/.
  *
@@ -192,4 +192,4 @@ Date.CultureInfo = {
  * end                 end
  * long                long
  * short               short
- */
\ No newline at end of file
+ */
index a8a7981..72bca4c 100644 (file)
@@ -3,13 +3,13 @@
  * @author: Coolite Inc. http://www.coolite.com/
  * @date: 2008-04-13
  * @copyright: Copyright (c) 2006-2008, Coolite Inc. (http://www.coolite.com/). All rights reserved.
- * @license: Licensed under The MIT License. See license.txt and http://www.datejs.com/license/. 
+ * @license: Licensed under The MIT License. See license.txt and http://www.datejs.com/license/.
  * @website: http://www.datejs.com/
  */
+
 (function () {
-    var $D = Date, 
-        $P = $D.prototype, 
+    var $D = Date,
+        $P = $D.prototype,
         $C = $D.CultureInfo,
         p = function (s, l) {
             if (!l) {
@@ -17,7 +17,7 @@
             }
             return ("000" + s).slice(l * -1);
         };
-            
+
     /**
      * Resets the time of this Date object to 12:00 AM (00:00), which is the start of the day.
      * @param {Boolean}  .clone() this date instance before clearing Time
@@ -44,7 +44,7 @@
         return this;
     };
 
-    /** 
+    /**
      * Gets a date that is set to the current date. The time is set to the start of the day (00:00 or 12:00 AM).
      * @return {Date}    The current date.
      */
     };
 
     /**
-     * Compares the first date to the second date and returns an number indication of their relative values.  
+     * Compares the first date to the second date and returns an number indication of their relative values.
      * @param {Date}     First Date object to compare [Required].
      * @param {Date}     Second Date object to compare to [Required].
      * @return {Number}  -1 = date1 is lessthan date2. 0 = values are equal. 1 = date1 is greaterthan date2.
      */
     $D.compare = function (date1, date2) {
-        if (isNaN(date1) || isNaN(date2)) { 
-            throw new Error(date1 + " - " + date2); 
+        if (isNaN(date1) || isNaN(date2)) {
+            throw new Error(date1 + " - " + date2);
         } else if (date1 instanceof Date && date2 instanceof Date) {
             return (date1 < date2) ? -1 : (date1 > date2) ? 1 : 0;
-        } else { 
-            throw new TypeError(date1 + " - " + date2); 
+        } else {
+            throw new TypeError(date1 + " - " + date2);
         }
     };
-    
+
     /**
-     * Compares the first Date object to the second Date object and returns true if they are equal.  
+     * Compares the first Date object to the second Date object and returns true if they are equal.
      * @param {Date}     First Date object to compare [Required]
      * @param {Date}     Second Date object to compare to [Required]
      * @return {Boolean} true if dates are equal. false if they are not equal.
      */
-    $D.equals = function (date1, date2) { 
-        return (date1.compareTo(date2) === 0); 
+    $D.equals = function (date1, date2) {
+        return (date1.compareTo(date2) === 0);
     };
 
     /**
      */
     $D.getDayNumberFromName = function (name) {
         var n = $C.dayNames, m = $C.abbreviatedDayNames, o = $C.shortestDayNames, s = name.toLowerCase();
-        for (var i = 0; i < n.length; i++) { 
-            if (n[i].toLowerCase() == s || m[i].toLowerCase() == s || o[i].toLowerCase() == s) { 
-                return i; 
+        for (var i = 0; i < n.length; i++) {
+            if (n[i].toLowerCase() == s || m[i].toLowerCase() == s || o[i].toLowerCase() == s) {
+                return i;
             }
         }
-        return -1;  
+        return -1;
     };
-    
+
     /**
      * Gets the month number (0-11) if given a Culture Info specific string which is a valid monthName or abbreviatedMonthName.
      * @param {String}   The name of the month (eg. "February, "Feb", "october", "oct").
     $D.getMonthNumberFromName = function (name) {
         var n = $C.monthNames, m = $C.abbreviatedMonthNames, s = name.toLowerCase();
         for (var i = 0; i < n.length; i++) {
-            if (n[i].toLowerCase() == s || m[i].toLowerCase() == s) { 
-                return i; 
+            if (n[i].toLowerCase() == s || m[i].toLowerCase() == s) {
+                return i;
             }
         }
         return -1;
      * @param {Number}   The year.
      * @return {Boolean} true if date is within a LeapYear, otherwise false.
      */
-    $D.isLeapYear = function (year) { 
-        return ((year % 4 === 0 && year % 100 !== 0) || year % 400 === 0); 
+    $D.isLeapYear = function (year) {
+        return ((year % 4 === 0 && year % 100 !== 0) || year % 400 === 0);
     };
 
     /**
     $D.getDaysInMonth = function (year, month) {
         return [31, ($D.isLeapYear(year) ? 29 : 28), 31, 30, 31, 30, 31, 31, 30, 31, 30, 31][month];
     };
+
     $D.getTimezoneAbbreviation = function (offset) {
         var z = $C.timezones, p;
         for (var i = 0; i < z.length; i++) {
         }
         return null;
     };
-    
+
     $D.getTimezoneOffset = function (name) {
         var z = $C.timezones, p;
         for (var i = 0; i < z.length; i++) {
      * @return {Date}    A new Date instance
      */
     $P.clone = function () {
-        return new Date(this.getTime()); 
+        return new Date(this.getTime());
     };
 
     /**
-     * Compares this instance to a Date object and returns an number indication of their relative values.  
+     * Compares this instance to a Date object and returns an number indication of their relative values.
      * @param {Date}     Date object to compare [Required]
      * @return {Number}  -1 = this is lessthan date. 0 = values are equal. 1 = this is greaterthan date.
      */
     };
 
     /**
-     * Compares this instance to another Date object and returns true if they are equal.  
+     * Compares this instance to another Date object and returns true if they are equal.
      * @param {Date}     Date object to compare. If no date to compare, new Date() [now] is used.
      * @return {Boolean} true if dates are equal. false if they are not equal.
      */
      * Determines if the current Date instance occurs today.
      * @return {Boolean} true if this date instance is 'today', otherwise false.
      */
-    
+
     /**
-     * Determines if the current Date instance occurs on the same Date as the supplied 'date'. 
-     * If no 'date' to compare to is provided, the current Date instance is compared to 'today'. 
+     * Determines if the current Date instance occurs on the same Date as the supplied 'date'.
+     * If no 'date' to compare to is provided, the current Date instance is compared to 'today'.
      * @param {date}     Date object to compare. If no date to compare, the current Date ("now") is used.
      * @return {Boolean} true if this Date instance occurs on the same Day as the supplied 'date'.
      */
     $P.isToday = $P.isSameDay = function (date) {
         return this.clone().clearTime().equals((date || new Date()).clone().clearTime());
     };
-    
+
     /**
-     * Adds the specified number of milliseconds to this instance. 
+     * Adds the specified number of milliseconds to this instance.
      * @param {Number}   The number of milliseconds to add. The number can be positive or negative [Required]
      * @return {Date}    this
      */
     };
 
     /**
-     * Adds the specified number of seconds to this instance. 
+     * Adds the specified number of seconds to this instance.
      * @param {Number}   The number of seconds to add. The number can be positive or negative [Required]
      * @return {Date}    this
      */
-    $P.addSeconds = function (value) { 
-        return this.addMilliseconds(value * 1000); 
+    $P.addSeconds = function (value) {
+        return this.addMilliseconds(value * 1000);
     };
 
     /**
-     * Adds the specified number of seconds to this instance. 
+     * Adds the specified number of seconds to this instance.
      * @param {Number}   The number of seconds to add. The number can be positive or negative [Required]
      * @return {Date}    this
      */
-    $P.addMinutes = function (value) { 
+    $P.addMinutes = function (value) {
         return this.addMilliseconds(value * 60000); /* 60*1000 */
     };
 
     /**
-     * Adds the specified number of hours to this instance. 
+     * Adds the specified number of hours to this instance.
      * @param {Number}   The number of hours to add. The number can be positive or negative [Required]
      * @return {Date}    this
      */
-    $P.addHours = function (value) { 
+    $P.addHours = function (value) {
         return this.addMilliseconds(value * 3600000); /* 60*60*1000 */
     };
 
     /**
-     * Adds the specified number of days to this instance. 
+     * Adds the specified number of days to this instance.
      * @param {Number}   The number of days to add. The number can be positive or negative [Required]
      * @return {Date}    this
      */
     };
 
     /**
-     * Adds the specified number of weeks to this instance. 
+     * Adds the specified number of weeks to this instance.
      * @param {Number}   The number of weeks to add. The number can be positive or negative [Required]
      * @return {Date}    this
      */
-    $P.addWeeks = function (value) { 
+    $P.addWeeks = function (value) {
         return this.addDays(value * 7);
     };
 
     /**
-     * Adds the specified number of months to this instance. 
+     * Adds the specified number of months to this instance.
      * @param {Number}   The number of months to add. The number can be positive or negative [Required]
      * @return {Date}    this
      */
     };
 
     /**
-     * Adds the specified number of years to this instance. 
+     * Adds the specified number of years to this instance.
      * @param {Number}   The number of years to add. The number can be positive or negative [Required]
      * @return {Date}    this
      */
      * Example
     <pre><code>
     Date.today().add( { days: 1, months: 1 } )
-     
+
     new Date().add( { years: -1 } )
-    </code></pre> 
+    </code></pre>
      * @param {Object}   Configuration object containing attributes (months, days, etc.)
      * @return {Date}    this
      */
     $P.add = function (config) {
         if (typeof config == "number") {
             this._orient = config;
-            return this;    
+            return this;
         }
-        
+
         var x = config;
-        
-        if (x.milliseconds) { 
-            this.addMilliseconds(x.milliseconds); 
+
+        if (x.milliseconds) {
+            this.addMilliseconds(x.milliseconds);
+        }
+        if (x.seconds) {
+            this.addSeconds(x.seconds);
         }
-        if (x.seconds) { 
-            this.addSeconds(x.seconds); 
+        if (x.minutes) {
+            this.addMinutes(x.minutes);
         }
-        if (x.minutes) { 
-            this.addMinutes(x.minutes); 
+        if (x.hours) {
+            this.addHours(x.hours);
         }
-        if (x.hours) { 
-            this.addHours(x.hours); 
+        if (x.weeks) {
+            this.addWeeks(x.weeks);
         }
-        if (x.weeks) { 
-            this.addWeeks(x.weeks); 
-        }    
-        if (x.months) { 
-            this.addMonths(x.months); 
+        if (x.months) {
+            this.addMonths(x.months);
         }
-        if (x.years) { 
-            this.addYears(x.years); 
+        if (x.years) {
+            this.addYears(x.years);
         }
         if (x.days) {
-            this.addDays(x.days); 
+            this.addDays(x.days);
         }
         return this;
     };
-    
+
     var $y, $m, $d;
-    
+
     /**
      * Get the week number. Week one (1) is the week which contains the first Thursday of the year. Monday is considered the first day of the week.
      * This algorithm is a JavaScript port of the work presented by Claus Tøndering at http://www.tondering.dk/claus/cal/node8.html#SECTION00880000000000000000
      */
     $P.getWeek = function () {
         var a, b, c, d, e, f, g, n, s, w;
-        
+
         $y = (!$y) ? this.getFullYear() : $y;
         $m = (!$m) ? this.getMonth() + 1 : $m;
         $d = (!$d) ? this.getDate() : $d;
             e = s + 1;
             f = $d + ((153 * ($m - 3) + 2) / 5 | 0) + 58 + s;
         }
-        
+
         g = (a + b) % 7;
         d = (f + g - e) % 7;
         n = f + 3 - d;
         } else {
             w = (n / 7 | 0) + 1;
         }
-        
+
         $y = $m = $d = null;
-        
+
         return w;
     };
-    
+
     /**
      * Get the ISO 8601 week number. Week one ("01") is the week which contains the first Thursday of the year. Monday is considered the first day of the week.
      * The .getISOWeek() function does convert the date to it's UTC value. Please use .getWeek() to get the week of the local date.
      * Moves the date to Monday of the week set. Week one (1) is the week which contains the first Thursday of the year.
      * @param {Number}   A Number (1 to 53) that represents the week of the year.
      * @return {Date}    this
-     */    
+     */
     $P.setWeek = function (n) {
         return this.moveToDayOfWeek(1).addWeeks(n - this.getWeek());
     };
         if (typeof n == "undefined") {
             return false;
         } else if (typeof n != "number") {
-            throw new TypeError(n + " is not a Number."); 
+            throw new TypeError(n + " is not a Number.");
         } else if (n < min || n > max) {
-            throw new RangeError(n + " is not a valid value for " + name + "."); 
+            throw new RangeError(n + " is not a valid value for " + name + ".");
         }
         return true;
     };
 
     new Date().set( { millisecond: 0 } )
     </code></pre>
-     * 
+     *
      * @param {Object}   Configuration object containing attributes (month, day, etc.)
      * @return {Date}    this
      */
     $P.set = function (config) {
         if ($D.validateMillisecond(config.millisecond)) {
-            this.addMilliseconds(config.millisecond - this.getMilliseconds()); 
+            this.addMilliseconds(config.millisecond - this.getMilliseconds());
         }
-        
+
         if ($D.validateSecond(config.second)) {
-            this.addSeconds(config.second - this.getSeconds()); 
+            this.addSeconds(config.second - this.getSeconds());
         }
-        
+
         if ($D.validateMinute(config.minute)) {
-            this.addMinutes(config.minute - this.getMinutes()); 
+            this.addMinutes(config.minute - this.getMinutes());
         }
-        
+
         if ($D.validateHour(config.hour)) {
-            this.addHours(config.hour - this.getHours()); 
+            this.addHours(config.hour - this.getHours());
         }
-        
+
         if ($D.validateMonth(config.month)) {
-            this.addMonths(config.month - this.getMonth()); 
+            this.addMonths(config.month - this.getMonth());
         }
 
         if ($D.validateYear(config.year)) {
-            this.addYears(config.year - this.getFullYear()); 
+            this.addYears(config.year - this.getFullYear());
         }
-        
+
            /* day has to go last because you can't validate the day without first knowing the month */
         if ($D.validateDay(config.day, this.getFullYear(), this.getMonth())) {
-            this.addDays(config.day - this.getDate()); 
+            this.addDays(config.day - this.getDate());
         }
-        
-        if (config.timezone) { 
-            this.setTimezone(config.timezone); 
+
+        if (config.timezone) {
+            this.setTimezone(config.timezone);
         }
-        
-        if (config.timezoneOffset) { 
-            this.setTimezoneOffset(config.timezoneOffset); 
+
+        if (config.timezoneOffset) {
+            this.setTimezoneOffset(config.timezoneOffset);
         }
 
         if (config.week && validate(config.week, 0, 53, "week")) {
             this.setWeek(config.week);
         }
-        
-        return this;   
+
+        return this;
     };
 
     /**
      * Moves the date to the last day of the month.
      * @return {Date}    this
      */
-    $P.moveToLastDayOfMonth = function () { 
+    $P.moveToLastDayOfMonth = function () {
         return this.set({ day: $D.getDaysInMonth(this.getFullYear(), this.getMonth())});
     };
 
 
     $P.setTimezoneOffset = function (offset) {
         var here = this.getTimezoneOffset(), there = Number(offset) * -6 / 10;
-        return this.addMinutes(there - here); 
+        return this.addMinutes(there - here);
     };
 
-    $P.setTimezone = function (offset) { 
-        return this.setTimezoneOffset($D.getTimezoneOffset(offset)); 
+    $P.setTimezone = function (offset) {
+        return this.setTimezoneOffset($D.getTimezoneOffset(offset));
     };
 
     /**
      * Indicates whether Daylight Saving Time is observed in the current time zone.
      * @return {Boolean} true|false
      */
-    $P.hasDaylightSavingTime = function () { 
+    $P.hasDaylightSavingTime = function () {
         return (Date.today().set({month: 0, day: 1}).getTimezoneOffset() !== Date.today().set({month: 6, day: 1}).getTimezoneOffset());
     };
-    
+
     /**
      * Indicates whether this Date instance is within the Daylight Saving Time range for the current time zone.
      * @return {Boolean} true|false
      */
     $P.getUTCOffset = function () {
         var n = this.getTimezoneOffset() * -10 / 6, r;
-        if (n < 0) { 
-            r = (n - 10000).toString(); 
-            return r.charAt(0) + r.substr(2); 
-        } else { 
-            r = (n + 10000).toString();  
-            return "+" + r.substr(1); 
+        if (n < 0) {
+            r = (n - 10000).toString();
+            return r.charAt(0) + r.substr(2);
+        } else {
+            r = (n + 10000).toString();
+            return "+" + r.substr(1);
         }
     };
 
          * @return {String}  ISO 8601 string of date
          */
         $P.toISOString = function () {
-            // From http://www.json.org/json.js. Public Domain. 
+            // From http://www.json.org/json.js. Public Domain.
             function f(n) {
                 return n < 10 ? '0' + n : n;
             }
                 f(this.getUTCSeconds())   + 'Z"';
         };
     }
-    
+
     // private
     $P._toString = $P.toString;
 
     ------  ---------------------------------------------------------------------------  -----------------------
      s      The seconds of the minute between 0-59.                                      "0" to "59"
      ss     The seconds of the minute with leading zero if required.                     "00" to "59"
-     
+
      m      The minute of the hour between 0-59.                                         "0"  or "59"
      mm     The minute of the hour with leading zero if required.                        "00" or "59"
-     
+
      h      The hour of the day between 1-12.                                            "1"  to "12"
      hh     The hour of the day with leading zero if required.                           "01" to "12"
-     
+
      H      The hour of the day between 0-23.                                            "0"  to "23"
      HH     The hour of the day with leading zero if required.                           "00" to "23"
-     
+
      d      The day of the month between 1 and 31.                                       "1"  to "31"
      dd     The day of the month with leading zero if required.                          "01" to "31"
-     ddd    Abbreviated day name. $C.abbreviatedDayNames.                                "Mon" to "Sun" 
+     ddd    Abbreviated day name. $C.abbreviatedDayNames.                                "Mon" to "Sun"
      dddd   The full day name. $C.dayNames.                                              "Monday" to "Sunday"
-     
+
      M      The month of the year between 1-12.                                          "1" to "12"
      MM     The month of the year with leading zero if required.                         "01" to "12"
      MMM    Abbreviated month name. $C.abbreviatedMonthNames.                            "Jan" to "Dec"
 
      yy     The year as a two-digit number.                                              "99" or "08"
      yyyy   The full four digit year.                                                    "1999" or "2008"
-     
+
      t      Displays the first character of the A.M./P.M. designator.                    "A" or "P"
             $C.amDesignator or $C.pmDesignator
      tt     Displays the A.M./P.M. designator.                                           "AM" or "PM"
             $C.amDesignator or $C.pmDesignator
-     
+
      S      The ordinal suffix ("st, "nd", "rd" or "th") of the current day.            "st, "nd", "rd" or "th"
 
 || *Format* || *Description* || *Example* ||
 || T      || The CultureInfo longTime Format Pattern                                      || "h:mm:ss tt" ||
 || u      || The CultureInfo universalSortableDateTime Format Pattern                     || "yyyy-MM-dd HH:mm:ssZ" ||
 || y      || The CultureInfo yearMonth Format Pattern                                     || "MMMM, yyyy" ||
-     
+
 
     STANDARD DATE AND TIME FORMAT STRINGS
     Format  Description                                                                  Example ("en-US")
      */
     $P.toString = function (format) {
         var x = this;
-        
+
         // Standard Date and Time Format Strings. Formats pulled from CultureInfo file and
-        // may vary by culture. 
+        // may vary by culture.
         if (format && format.length == 1) {
             var c = $C.formatPatterns;
             x.t = x.toString;
             switch (format) {
-            case "d": 
+            case "d":
                 return x.t(c.shortDate);
             case "D":
                 return x.t(c.longDate);
                 return x.t(c.universalSortableDateTime);
             case "y":
                 return x.t(c.yearMonth);
-            }    
+            }
         }
-        
+
         var ord = function (n) {
                 switch (n * 1) {
-                case 1: 
-                case 21: 
-                case 31: 
+                case 1:
+                case 21:
+                case 31:
                     return "st";
-                case 2: 
-                case 22: 
+                case 2:
+                case 22:
                     return "nd";
-                case 3: 
-                case 23: 
+                case 3:
+                case 23:
                     return "rd";
-                default: 
+                default:
                     return "th";
                 }
             };
-        
-        return format ? format.replace(/(\\)?(dd?d?d?|MM?M?M?|yy?y?y?|hh?|HH?|mm?|ss?|tt?|S)/g, 
+
+        return format ? format.replace(/(\\)?(dd?d?d?|MM?M?M?|yy?y?y?|hh?|HH?|mm?|ss?|tt?|S)/g,
         function (m) {
             if (m.charAt(0) === "\\") {
                 return m.replace("\\", "");
                 return x.h() < 12 ? $C.amDesignator : $C.pmDesignator;
             case "S":
                 return ord(x.getDate());
-            default: 
+            default:
                 return m;
             }
         }
  * @author: Coolite Inc. http://www.coolite.com/
  * @date: 2008-04-13
  * @copyright: Copyright (c) 2006-2008, Coolite Inc. (http://www.coolite.com/). All rights reserved.
- * @license: Licensed under The MIT License. See license.txt and http://www.datejs.com/license/. 
+ * @license: Licensed under The MIT License. See license.txt and http://www.datejs.com/license/.
  * @website: http://www.datejs.com/
  */
 
  ** SugarPak - Domain Specific Language -  Syntactical Sugar **
  **************************************************************
  */
+
 (function () {
     var $D = Date, $P = $D.prototype, $C = $D.CultureInfo, $N = Number.prototype;
 
 
     // private
     $P._same = false;
-    
+
     // private
     $P._isSecond = false;
 
     // private
     $N._dateElement = "day";
 
-    /** 
+    /**
      * Moves the date to the next instance of a date as specified by the subsequent date element function (eg. .day(), .month()), month name function (eg. .january(), .jan()) or day name function (eg. .friday(), fri()).
      * Example
     <pre><code>
     Date.today().next().mar();
     Date.today().next().week();
     </code></pre>
-     * 
+     *
      * @return {Date}    date
      */
     $P.next = function () {
         return this;
     };
 
-    /** 
+    /**
      * Creates a new Date (Date.today()) and moves the date to the next instance of the date as specified by the subsequent date element function (eg. .day(), .month()), month name function (eg. .january(), .jan()) or day name function (eg. .friday(), fri()).
      * Example
     <pre><code>
     Date.next().mar();
     Date.next().week();
     </code></pre>
-     * 
+     *
      * @return {Date}    date
-     */    
+     */
     $D.next = function () {
         return $D.today().next();
     };
 
-    /** 
+    /**
      * Moves the date to the previous instance of a date as specified by the subsequent date element function (eg. .day(), .month()), month name function (eg. .january(), .jan()) or day name function (eg. .friday(), fri()).
      * Example
     <pre><code>
     Date.today().last().mar();
     Date.today().last().week();
     </code></pre>
-     *  
+     *
      * @return {Date}    date
      */
     $P.last = $P.prev = $P.previous = function () {
         return this;
     };
 
-    /** 
+    /**
      * Creates a new Date (Date.today()) and moves the date to the previous instance of the date as specified by the subsequent date element function (eg. .day(), .month()), month name function (eg. .january(), .jan()) or day name function (eg. .friday(), fri()).
      * Example
     <pre><code>
     Date.prev().mar();
     Date.last().week();
     </code></pre>
-     *  
+     *
      * @return {Date}    date
      */
     $D.last = $D.prev = $D.previous = function () {
         return $D.today().last();
-    };    
+    };
 
-    /** 
+    /**
      * Performs a equality check when followed by either a month name, day name or .weekday() function.
      * Example
     <pre><code>
     Date.today().is().march();
     Date.today().is().mar();
     </code></pre>
-     *  
+     *
      * @return {Boolean}    true|false
      */
-    $P.is = function () { 
-        this._is = true; 
-        return this; 
+    $P.is = function () {
+        this._is = true;
+        return this;
     };
 
-    /** 
+    /**
      * Determines if two date objects occur on/in exactly the same instance of the subsequent date part function.
      * The function .same() must be followed by a date part function (example: .day(), .month(), .year(), etc).
      *
-     * An optional Date can be passed in the date part function. If now date is passed as a parameter, 'Now' is used. 
+     * An optional Date can be passed in the date part function. If now date is passed as a parameter, 'Now' is used.
      *
      * The following example demonstrates how to determine if two dates fall on the exact same day.
      *
 
     // Do they occur on the same day?
     d1.same().day(d2); // true
-    
+
      // Do they occur on the same hour?
     d1.same().hour(d2); // false, unless d2 hour is '00' (midnight).
-    
+
     // What if it's the same day, but one year apart?
     var nextYear = Date.today().add(1).year();
 
-    d1.same().day(nextYear); // false, because the dates must occur on the exact same day. 
+    d1.same().day(nextYear); // false, because the dates must occur on the exact same day.
     </code></pre>
      *
-     * Scenario: Determine if a given date occurs during some week period 2 months from now. 
+     * Scenario: Determine if a given date occurs during some week period 2 months from now.
      *
      * Example
     <pre><code>
     var future = Date.today().add(2).months();
     return someDate.same().week(future); // true|false;
     </code></pre>
-     *  
+     *
      * @return {Boolean}    true|false
-     */    
-    $P.same = function () { 
+     */
+    $P.same = function () {
         this._same = true;
         this._isSecond = false;
-        return this; 
+        return this;
     };
 
-    /** 
+    /**
      * Determines if the current date/time occurs during Today. Must be preceded by the .is() function.
      * Example
     <pre><code>
     Date.today().is().today();// true
     Date.today().add(-1).day().is().today(); // false
     </code></pre>
-     *  
+     *
      * @return {Boolean}    true|false
-     */    
+     */
     $P.today = function () {
         return this.same().day();
     };
 
-    /** 
+    /**
      * Determines if the current date is a weekday. This function must be preceded by the .is() function.
      * Example
     <pre><code>
     Date.today().is().weekday(); // true|false
     </code></pre>
-     *  
+     *
      * @return {Boolean}    true|false
      */
     $P.weekday = function () {
-        if (this._is) { 
+        if (this._is) {
             this._is = false;
             return (!this.is().sat() && !this.is().sun());
         }
         return false;
     };
 
-    /** 
+    /**
      * Sets the Time of the current Date instance. A string "6:15 pm" or config object {hour:18, minute:15} are accepted.
      * Example
     <pre><code>
     // Set time to 6:15pm with a config object
     Date.today().at({hour:18, minute:15});
     </code></pre>
-     *  
+     *
      * @return {Date}    date
      */
     $P.at = function (time) {
         return (typeof time === "string") ? $D.parse(this.toString("d") + " " + time) : this.set(time);
-    }; 
-        
-    /** 
+    };
+
+    /**
      * Creates a new Date() and adds this (Number) to the date based on the preceding date element function (eg. second|minute|hour|day|month|year).
      * Example
     <pre><code>
     (3).days().fromNow();
     (6).months().fromNow();
 
-    // Declared Number variables do not require parentheses. 
+    // Declared Number variables do not require parentheses.
     var n = 6;
     n.months().fromNow();
     </code></pre>
-     *  
+     *
      * @return {Date}    A new Date instance
      */
     $N.fromNow = $N.after = function (date) {
         return ((!date) ? new Date() : date.clone()).add(c);
     };
 
-    /** 
+    /**
      * Creates a new Date() and subtract this (Number) from the date based on the preceding date element function (eg. second|minute|hour|day|month|year).
      * Example
     <pre><code>
     (3).days().ago();
     (6).months().ago();
 
-    // Declared Number variables do not require parentheses. 
+    // Declared Number variables do not require parentheses.
     var n = 6;
     n.months().ago();
     </code></pre>
-     *  
+     *
      * @return {Date}    A new Date instance
      */
     $N.ago = $N.before = function (date) {
                nth = ("final first second third fourth fifth").split(/\s/),
         de;
 
-   /** 
+   /**
      * Returns an object literal of all the date parts.
      * Example
     <pre><code>
        var o = new Date().toObject();
-       
+
        // { year: 2008, month: 4, week: 20, day: 13, hour: 18, minute: 9, second: 32, millisecond: 812 }
-       
+
        // The object properties can be referenced directly from the object.
-       
+
        alert(o.day);  // alerts "13"
        alert(o.year); // alerts "2008"
     </code></pre>
-     *  
+     *
      * @return {Date}    An object literal representing the original date object.
      */
     $P.toObject = function () {
             o[px[i].toLowerCase()] = this["get" + pxf[i]]();
         }
         return o;
-    }; 
-   
-   /** 
-     * Returns a date created from an object literal. Ignores the .week property if set in the config. 
+    };
+
+   /**
+     * Returns a date created from an object literal. Ignores the .week property if set in the config.
      * Example
     <pre><code>
        var o = new Date().toObject();
-       
-       return Date.fromObject(o); // will return the same date. 
+
+       return Date.fromObject(o); // will return the same date.
 
     var o2 = {month: 1, day: 20, hour: 18}; // birthday party!
     Date.fromObject(o2);
     </code></pre>
-     *  
+     *
      * @return {Date}    An object literal representing the original date object.
-     */    
+     */
     $D.fromObject = function(config) {
         config.week = null;
         return Date.today().set(config);
     };
-        
+
     // Create day name functions and abbreviated day name functions (eg. monday(), friday(), fri()).
     var df = function (n) {
-        return function () { 
-            if (this._is) { 
-                this._is = false; 
-                return this.getDay() == n; 
+        return function () {
+            if (this._is) {
+                this._is = false;
+                return this.getDay() == n;
             }
             if (this._nth !== null) {
-                // If the .second() function was called earlier, remove the _orient 
+                // If the .second() function was called earlier, remove the _orient
                 // from the date, and then continue.
                 // This is required because 'second' can be used in two different context.
-                // 
+                //
                 // Example
                 //
                 //   Date.today().add(1).second();
                 //   Date.march().second().monday();
-                // 
+                //
                 // Things get crazy with the following...
                 //   Date.march().add(1).second().second().monday(); // but it works!!
-                //  
+                //
                 if (this._isSecond) {
                     this.addSeconds(this._orient * -1);
                 }
                     throw new RangeError($D.getDayName(n) + " does not occur " + ntemp + " times in the month of " + $D.getMonthName(temp.getMonth()) + " " + temp.getFullYear() + ".");
                 }
                 return this;
-            }                  
+            }
             return this.moveToDayOfWeek(n, this._orient);
         };
     };
-    
+
     var sdf = function (n) {
         return function () {
             var t = $D.today(), shift = n - t.getDay();
             return t.addDays(shift);
         };
     };
-       
+
     for (var i = 0; i < dx.length; i++) {
         // Create constant static Day Name variables. Example: Date.MONDAY or Date.MON
         $D[dx[i].toUpperCase()] = $D[dx[i].toUpperCase().substring(0, 3)] = i;
         // Create Day Name instance functions. Example: Date.today().next().monday()
         $P[dx[i]] = $P[dx[i].substring(0, 3)] = df(i);
     }
-    
+
     // Create month name functions and abbreviated month name functions (eg. january(), march(), mar()).
-    var mf = function (n) { 
+    var mf = function (n) {
         return function () {
-            if (this._is) { 
-                this._is = false; 
-                return this.getMonth() === n; 
+            if (this._is) {
+                this._is = false;
+                return this.getMonth() === n;
             }
-            return this.moveToMonth(n, this._orient); 
+            return this.moveToMonth(n, this._orient);
         };
     };
-    
+
     var smf = function (n) {
         return function () {
             return $D.today().set({ month: n, day: 1 });
         };
     };
-    
+
     for (var j = 0; j < mx.length; j++) {
         // Create constant static Month Name variables. Example: Date.MARCH or Date.MAR
         $D[mx[j].toUpperCase()] = $D[mx[j].toUpperCase().substring(0, 3)] = j;
         // Create Month Name instance functions. Example: Date.today().next().march()
         $P[mx[j]] = $P[mx[j].substring(0, 3)] = mf(j);
     }
-    
+
     // Create date element functions and plural date element functions used with Date (eg. day(), days(), months()).
     var ef = function (j) {
         return function () {
-            // if the .second() function was called earlier, the _orient 
+            // if the .second() function was called earlier, the _orient
             // has alread been added. Just return this and reset _isSecond.
             if (this._isSecond) {
                 this._isSecond = false;
             }
 
             if (this._same) {
-                this._same = this._is = false; 
+                this._same = this._is = false;
                 var o1 = this.toObject(),
                     o2 = (arguments[0] || new Date()).toObject(),
                     v = "",
                     k = j.toLowerCase();
-                    
+
                 for (var m = (px.length - 1); m > -1; m--) {
                     v = px[m].toLowerCase();
                     if (o1[v] != o2[v]) {
                 }
                 return true;
             }
-            
+
             if (j.substring(j.length - 1) != "s") {
-                j += "s"; 
+                j += "s";
             }
             return this["add" + j](this._orient);
         };
     };
-    
-    
+
+
     var nf = function (n) {
         return function () {
             this._dateElement = n;
             return this;
         };
     };
-   
+
     for (var k = 0; k < px.length; k++) {
         de = px[k].toLowerCase();
-    
+
         // Create date element functions and plural date element functions used with Date (eg. day(), days(), months()).
         $P[de] = $P[de + "s"] = ef(px[k]);
-        
+
         // Create date element functions and plural date element functions used with Number (eg. day(), days(), months()).
         $N[de] = $N[de + "s"] = nf(de);
     }
-    
+
     $P._ss = ef("Second");
-       
+
     var nthfn = function (n) {
         return function (dayOfWeek) {
             if (this._same) {
  * @author: Coolite Inc. http://www.coolite.com/
  * @date: 2008-04-13
  * @copyright: Copyright (c) 2006-2008, Coolite Inc. (http://www.coolite.com/). All rights reserved.
- * @license: Licensed under The MIT License. See license.txt and http://www.datejs.com/license/. 
+ * @license: Licensed under The MIT License. See license.txt and http://www.datejs.com/license/.
  * @website: http://www.datejs.com/
  */
+
 (function () {
     Date.Parsing = {
         Exception: function (s) {
-            this.message = "Parse error at '" + s.substring(0, 10) + " ...'"; 
+            this.message = "Parse error at '" + s.substring(0, 10) + " ...'";
         }
     };
-    
-    var $P = Date.Parsing; 
+
+    var $P = Date.Parsing;
     var _ = $P.Operators = {
         //
         // Tokenizers
         rtoken: function (r) { // regex token
             return function (s) {
                 var mx = s.match(r);
-                if (mx) { 
-                    return ([ mx[0], s.substring(mx[0].length) ]); 
-                } else { 
-                    throw new $P.Exception(s); 
+                if (mx) {
+                    return ([ mx[0], s.substring(mx[0].length) ]);
+                } else {
+                    throw new $P.Exception(s);
                 }
             };
         },
             };
         },
         stoken: function (s) { // string token
-            return _.rtoken(new RegExp("^" + s)); 
+            return _.rtoken(new RegExp("^" + s));
         },
 
         //
         // Atomic Operators
-        // 
+        //
 
         until: function (p) {
             return function (s) {
                 var qx = [], rx = null;
-                while (s.length) { 
-                    try { 
-                        rx = p.call(this, s); 
-                    } catch (e) { 
-                        qx.push(rx[0]); 
-                        s = rx[1]; 
-                        continue; 
+                while (s.length) {
+                    try {
+                        rx = p.call(this, s);
+                    } catch (e) {
+                        qx.push(rx[0]);
+                        s = rx[1];
+                        continue;
                     }
                     break;
                 }
         },
         many: function (p) {
             return function (s) {
-                var rx = [], r = null; 
-                while (s.length) { 
-                    try { 
-                        r = p.call(this, s); 
-                    } catch (e) { 
-                        return [ rx, s ]; 
+                var rx = [], r = null;
+                while (s.length) {
+                    try {
+                        r = p.call(this, s);
+                    } catch (e) {
+                        return [ rx, s ];
                     }
-                    rx.push(r[0]); 
+                    rx.push(r[0]);
                     s = r[1];
                 }
                 return [ rx, s ];
         // generator operators -- see below
         optional: function (p) {
             return function (s) {
-                var r = null; 
-                try { 
-                    r = p.call(this, s); 
-                } catch (e) { 
-                    return [ null, s ]; 
+                var r = null;
+                try {
+                    r = p.call(this, s);
+                } catch (e) {
+                    return [ null, s ];
                 }
                 return [ r[0], r[1] ];
             };
         },
         not: function (p) {
             return function (s) {
-                try { 
-                    p.call(this, s); 
-                } catch (e) { 
-                    return [null, s]; 
+                try {
+                    p.call(this, s);
+                } catch (e) {
+                    return [null, s];
                 }
                 throw new $P.Exception(s);
             };
         },
         ignore: function (p) {
-            return p ? 
-            function (s) { 
-                var r = null; 
-                r = p.call(this, s); 
-                return [null, r[1]]; 
+            return p ?
+            function (s) {
+                var r = null;
+                r = p.call(this, s);
+                return [null, r[1]];
             } : null;
         },
         product: function () {
-            var px = arguments[0], 
+            var px = arguments[0],
             qx = Array.prototype.slice.call(arguments, 1), rx = [];
             for (var i = 0 ; i < px.length ; i++) {
                 rx.push(_.each(px[i], qx));
             }
             return rx;
         },
-        cache: function (rule) { 
-            var cache = {}, r = null; 
+        cache: function (rule) {
+            var cache = {}, r = null;
             return function (s) {
-                try { 
-                    r = cache[s] = (cache[s] || rule.call(this, s)); 
-                } catch (e) { 
-                    r = cache[s] = e; 
+                try {
+                    r = cache[s] = (cache[s] || rule.call(this, s));
+                } catch (e) {
+                    r = cache[s] = e;
                 }
-                if (r instanceof $P.Exception) { 
-                    throw r; 
-                } else { 
-                    return r; 
+                if (r instanceof $P.Exception) {
+                    throw r;
+                } else {
+                    return r;
                 }
             };
         },
-         
+
         // vector operators -- see below
         any: function () {
             var px = arguments;
-            return function (s) { 
+            return function (s) {
                 var r = null;
-                for (var i = 0; i < px.length; i++) { 
-                    if (px[i] == null) { 
-                        continue; 
+                for (var i = 0; i < px.length; i++) {
+                    if (px[i] == null) {
+                        continue;
                     }
-                    try { 
-                        r = (px[i].call(this, s)); 
-                    } catch (e) { 
-                        r = null; 
+                    try {
+                        r = (px[i].call(this, s));
+                    } catch (e) {
+                        r = null;
                     }
-                    if (r) { 
-                        return r; 
+                    if (r) {
+                        return r;
                     }
-                } 
+                }
                 throw new $P.Exception(s);
             };
         },
-        each: function () { 
+        each: function () {
             var px = arguments;
-            return function (s) { 
+            return function (s) {
                 var rx = [], r = null;
-                for (var i = 0; i < px.length ; i++) { 
-                    if (px[i] == null) { 
-                        continue; 
+                for (var i = 0; i < px.length ; i++) {
+                    if (px[i] == null) {
+                        continue;
                     }
-                    try { 
-                        r = (px[i].call(this, s)); 
-                    } catch (e) { 
-                        throw new $P.Exception(s); 
+                    try {
+                        r = (px[i].call(this, s));
+                    } catch (e) {
+                        throw new $P.Exception(s);
                     }
-                    rx.push(r[0]); 
+                    rx.push(r[0]);
                     s = r[1];
                 }
-                return [ rx, s]; 
+                return [ rx, s];
             };
         },
-        all: function () { 
-            var px = arguments, _ = _; 
-            return _.each(_.optional(px)); 
+        all: function () {
+            var px = arguments, _ = _;
+            return _.each(_.optional(px));
         },
 
         // delimited operators
         sequence: function (px, d, c) {
-            d = d || _.rtoken(/^\s*/);  
+            d = d || _.rtoken(/^\s*/);
             c = c || null;
-            
-            if (px.length == 1) { 
-                return px[0]; 
+
+            if (px.length == 1) {
+                return px[0];
             }
             return function (s) {
                 var r = null, q = null;
-                var rx = []; 
+                var rx = [];
                 for (var i = 0; i < px.length ; i++) {
-                    try { 
-                        r = px[i].call(this, s); 
-                    } catch (e) { 
-                        break; 
+                    try {
+                        r = px[i].call(this, s);
+                    } catch (e) {
+                        break;
                     }
                     rx.push(r[0]);
-                    try { 
-                        q = d.call(this, r[1]); 
-                    } catch (ex) { 
-                        q = null; 
-                        break; 
+                    try {
+                        q = d.call(this, r[1]);
+                    } catch (ex) {
+                        q = null;
+                        break;
                     }
                     s = q[1];
                 }
-                if (!r) { 
-                    throw new $P.Exception(s); 
+                if (!r) {
+                    throw new $P.Exception(s);
                 }
-                if (q) { 
-                    throw new $P.Exception(q[1]); 
+                if (q) {
+                    throw new $P.Exception(q[1]);
                 }
                 if (c) {
-                    try { 
+                    try {
                         r = c.call(this, r[1]);
-                    } catch (ey) { 
-                        throw new $P.Exception(r[1]); 
+                    } catch (ey) {
+                        throw new $P.Exception(r[1]);
                     }
                 }
                 return [ rx, (r?r[1]:s) ];
             };
         },
-               
+
            //
            // Composite Operators
            //
-               
-        between: function (d1, p, d2) { 
-            d2 = d2 || d1; 
+
+        between: function (d1, p, d2) {
+            d2 = d2 || d1;
             var _fn = _.each(_.ignore(d1), p, _.ignore(d2));
-            return function (s) { 
-                var rx = _fn.call(this, s); 
-                return [[rx[0][0], r[0][2]], rx[1]]; 
+            return function (s) {
+                var rx = _fn.call(this, s);
+                return [[rx[0][0], r[0][2]], rx[1]];
             };
         },
         list: function (p, d, c) {
-            d = d || _.rtoken(/^\s*/);  
+            d = d || _.rtoken(/^\s*/);
             c = c || null;
             return (p instanceof Array ?
                 _.each(_.product(p.slice(0, -1), _.ignore(d)), p.slice(-1), _.ignore(c)) :
                 _.each(_.many(_.each(p, _.ignore(d))), px, _.ignore(c)));
         },
         set: function (px, d, c) {
-            d = d || _.rtoken(/^\s*/); 
+            d = d || _.rtoken(/^\s*/);
             c = c || null;
             return function (s) {
                 // r is the current match, best the current 'best' match
 
                     // last is a flag indicating whether this must be the last element
                     // if there is only 1 element, then it MUST be the last one
-                    q = null; 
-                    p = null; 
-                    r = null; 
-                    last = (px.length == 1); 
+                    q = null;
+                    p = null;
+                    r = null;
+                    last = (px.length == 1);
 
                     // first, we try simply to match the current pattern
                     // if not, try the next pattern
-                    try { 
+                    try {
                         r = px[i].call(this, s);
-                    } catch (e) { 
-                        continue; 
+                    } catch (e) {
+                        continue;
                     }
 
                     // since we are matching against a set of elements, the first
                     // thing to do is to add r[0] to matched elements
                     rx = [[r[0]], r[1]];
 
-                    // if we matched and there is still input to parse and 
+                    // if we matched and there is still input to parse and
                     // we don't already know this is the last element,
                     // we're going to next check for the delimiter ...
                     // if there's none, or if there's no input left to parse
                     // than this must be the last element after all ...
                     if (r[1].length > 0 && ! last) {
-                        try { 
-                            q = d.call(this, r[1]); 
-                        } catch (ex) { 
-                            last = true; 
+                        try {
+                            q = d.call(this, r[1]);
+                        } catch (ex) {
+                            last = true;
                         }
-                    } else { 
-                        last = true; 
+                    } else {
+                        last = true;
                     }
 
                                    // if we parsed the delimiter and now there's no more input,
                                    // that means we shouldn't have parsed the delimiter at all
                                    // so don't update r and mark this as the last element ...
-                    if (!last && q[1].length === 0) { 
-                        last = true; 
+                    if (!last && q[1].length === 0) {
+                        last = true;
                     }
 
 
 
                         // build a list of the remaining rules we can match against,
                         // i.e., all but the one we just matched against
-                        var qx = []; 
-                        for (var j = 0; j < px.length ; j++) { 
-                            if (i != j) { 
-                                qx.push(px[j]); 
+                        var qx = [];
+                        for (var j = 0; j < px.length ; j++) {
+                            if (i != j) {
+                                qx.push(px[j]);
                             }
                         }
 
                             // basically, pick up the remaining text from p[1]
                             // and concat the result from p[0] so that we don't
                             // get endless nesting ...
-                            rx[0] = rx[0].concat(p[0]); 
-                            rx[1] = p[1]; 
+                            rx[0] = rx[0].concat(p[0]);
+                            rx[1] = p[1];
                         }
                     }
 
 
                                    // now we just check to see if this variation is better than
                                    // our best so far, in terms of how much of the input is parsed
-                    if (rx[1].length < best[1].length) { 
-                        best = rx; 
+                    if (rx[1].length < best[1].length) {
+                        best = rx;
                     }
 
                                    // if we've parsed all the input, then we're finished
-                    if (best[1].length === 0) { 
-                        break; 
+                    if (best[1].length === 0) {
+                        break;
                     }
                 }
 
                            // input string ...
 
                            // if best has no matches, just return empty set ...
-                if (best[0].length === 0) { 
-                    return best; 
+                if (best[0].length === 0) {
+                    return best;
                 }
 
                            // if a closing delimiter is provided, then we have to check it also
                 if (c) {
                     // we try this even if there is no remaining input because the pattern
                     // may well be optional or match empty input ...
-                    try { 
-                        q = c.call(this, best[1]); 
-                    } catch (ey) { 
-                        throw new $P.Exception(best[1]); 
+                    try {
+                        q = c.call(this, best[1]);
+                    } catch (ey) {
+                        throw new $P.Exception(best[1]);
                     }
 
                     // it parsed ... be sure to update the best match remaining input
             };
         },
         forward: function (gr, fname) {
-            return function (s) { 
-                return gr[fname].call(this, s); 
+            return function (s) {
+                return gr[fname].call(this, s);
             };
         },
 
         // Translation Operators
         //
         replace: function (rule, repl) {
-            return function (s) { 
-                var r = rule.call(this, s); 
-                return [repl, r[1]]; 
+            return function (s) {
+                var r = rule.call(this, s);
+                return [repl, r[1]];
             };
         },
         process: function (rule, fn) {
-            return function (s) {  
-                var r = rule.call(this, s); 
-                return [fn.call(this, r[0]), r[1]]; 
+            return function (s) {
+                var r = rule.call(this, s);
+                return [fn.call(this, r[0]), r[1]];
             };
         },
         min: function (min, rule) {
             return function (s) {
-                var rx = rule.call(this, s); 
-                if (rx[0].length < min) { 
-                    throw new $P.Exception(s); 
+                var rx = rule.call(this, s);
+                if (rx[0].length < min) {
+                    throw new $P.Exception(s);
                 }
                 return rx;
             };
         }
     };
-       
+
 
        // Generator Operators And Vector Operators
 
        // Generators are operators that have a signature of F(R) => R,
-       // taking a given rule and returning another rule, such as 
+       // taking a given rule and returning another rule, such as
        // ignore, which parses a given rule and throws away the result.
 
        // Vector operators are those that have a signature of F(R1,R2,...) => R,
        // This also turns generators into vector operators, which allows
        // constructs like:
        // not(cache(foo, bar))
-       
+
     var _generator = function (op) {
         return function () {
             var args = null, rx = [];
             } else if (arguments[0] instanceof Array) {
                 args = arguments[0];
             }
-            if (args) { 
+            if (args) {
                 for (var i = 0, px = args.shift() ; i < px.length ; i++) {
-                    args.unshift(px[i]); 
-                    rx.push(op.apply(null, args)); 
+                    args.unshift(px[i]);
+                    rx.push(op.apply(null, args));
                     args.shift();
                     return rx;
-                } 
-            } else { 
-                return op.apply(null, arguments); 
+                }
+            } else {
+                return op.apply(null, arguments);
             }
         };
     };
-    
+
     var gx = "optional not ignore cache".split(/\s/);
-    
-    for (var i = 0 ; i < gx.length ; i++) { 
-        _[gx[i]] = _generator(_[gx[i]]); 
+
+    for (var i = 0 ; i < gx.length ; i++) {
+        _[gx[i]] = _generator(_[gx[i]]);
     }
 
     var _vector = function (op) {
         return function () {
-            if (arguments[0] instanceof Array) { 
-                return op.apply(null, arguments[0]); 
-            } else { 
-                return op.apply(null, arguments); 
+            if (arguments[0] instanceof Array) {
+                return op.apply(null, arguments[0]);
+            } else {
+                return op.apply(null, arguments);
             }
         };
     };
-    
+
     var vx = "each any all".split(/\s/);
-    
-    for (var j = 0 ; j < vx.length ; j++) { 
-        _[vx[j]] = _vector(_[vx[j]]); 
+
+    for (var j = 0 ; j < vx.length ; j++) {
+        _[vx[j]] = _vector(_[vx[j]]);
     }
-       
+
 }());
 
 (function () {
     var $D = Date, $P = $D.prototype, $C = $D.CultureInfo;
 
-    var flattenAndCompact = function (ax) { 
-        var rx = []; 
+    var flattenAndCompact = function (ax) {
+        var rx = [];
         for (var i = 0; i < ax.length; i++) {
             if (ax[i] instanceof Array) {
                 rx = rx.concat(flattenAndCompact(ax[i]));
-            } else { 
-                if (ax[i]) { 
-                    rx.push(ax[i]); 
+            } else {
+                if (ax[i]) {
+                    rx.push(ax[i]);
                 }
             }
         }
         return rx;
     };
-    
+
     $D.Grammar = {};
-       
+
     $D.Translator = {
-        hour: function (s) { 
-            return function () { 
-                this.hour = Number(s); 
-            }; 
+        hour: function (s) {
+            return function () {
+                this.hour = Number(s);
+            };
         },
-        minute: function (s) { 
-            return function () { 
-                this.minute = Number(s); 
-            }; 
+        minute: function (s) {
+            return function () {
+                this.minute = Number(s);
+            };
         },
-        second: function (s) { 
-            return function () { 
-                this.second = Number(s); 
-            }; 
+        second: function (s) {
+            return function () {
+                this.second = Number(s);
+            };
         },
-        meridian: function (s) { 
-            return function () { 
-                this.meridian = s.slice(0, 1).toLowerCase(); 
-            }; 
+        meridian: function (s) {
+            return function () {
+                this.meridian = s.slice(0, 1).toLowerCase();
+            };
         },
         timezone: function (s) {
             return function () {
                 var n = s.replace(/[^\d\+\-]/g, "");
-                if (n.length) { 
-                    this.timezoneOffset = Number(n); 
-                } else { 
-                    this.timezone = s.toLowerCase(); 
+                if (n.length) {
+                    this.timezoneOffset = Number(n);
+                } else {
+                    this.timezone = s.toLowerCase();
                 }
             };
         },
-        day: function (x) { 
+        day: function (x) {
             var s = x[0];
-            return function () { 
-                this.day = Number(s.match(/\d+/)[0]); 
+            return function () {
+                this.day = Number(s.match(/\d+/)[0]);
             };
-        }, 
+        },
         month: function (s) {
             return function () {
                 this.month = (s.length == 3) ? "jan feb mar apr may jun jul aug sep oct nov dec".indexOf(s)/4 : Number(s) - 1;
         year: function (s) {
             return function () {
                 var n = Number(s);
-                this.year = ((s.length > 2) ? n : 
-                    (n + (((n + 2000) < $C.twoDigitYearMax) ? 2000 : 1900))); 
+                this.year = ((s.length > 2) ? n :
+                    (n + (((n + 2000) < $C.twoDigitYearMax) ? 2000 : 1900)));
             };
         },
-        rday: function (s) { 
+        rday: function (s) {
             return function () {
                 switch (s) {
-                case "yesterday": 
+                case "yesterday":
                     this.days = -1;
                     break;
-                case "tomorrow":  
+                case "tomorrow":
                     this.days = 1;
                     break;
-                case "today": 
+                case "today":
                     this.days = 0;
                     break;
-                case "now": 
-                    this.days = 0; 
-                    this.now = true; 
+                case "now":
+                    this.days = 0;
+                    this.now = true;
                     break;
                 }
             };
         },
-        finishExact: function (x) {  
-            x = (x instanceof Array) ? x : [ x ]; 
+        finishExact: function (x) {
+            x = (x instanceof Array) ? x : [ x ];
 
-            for (var i = 0 ; i < x.length ; i++) { 
-                if (x[i]) { 
-                    x[i].call(this); 
+            for (var i = 0 ; i < x.length ; i++) {
+                if (x[i]) {
+                    x[i].call(this);
                 }
             }
-            
+
             var now = new Date();
-            
+
             if ((this.hour || this.minute) && (!this.month && !this.year && !this.day)) {
                 this.day = now.getDate();
             }
             if (!this.year) {
                 this.year = now.getFullYear();
             }
-            
+
             if (!this.month && this.month !== 0) {
                 this.month = now.getMonth();
             }
-            
+
             if (!this.day) {
                 this.day = 1;
             }
-            
+
             if (!this.hour) {
                 this.hour = 0;
             }
-            
+
             if (!this.minute) {
                 this.minute = 0;
             }
                     this.hour = 0;
                 }
             }
-            
+
             if (this.day > $D.getDaysInMonth(this.year, this.month)) {
                 throw new RangeError(this.day + " is not a valid value for days.");
             }
 
             var r = new Date(this.year, this.month, this.day, this.hour, this.minute, this.second);
 
-            if (this.timezone) { 
-                r.set({ timezone: this.timezone }); 
-            } else if (this.timezoneOffset) { 
-                r.set({ timezoneOffset: this.timezoneOffset }); 
+            if (this.timezone) {
+                r.set({ timezone: this.timezone });
+            } else if (this.timezoneOffset) {
+                r.set({ timezoneOffset: this.timezoneOffset });
             }
-            
+
             return r;
-        },                     
+        },
         finish: function (x) {
             x = (x instanceof Array) ? flattenAndCompact(x) : [ x ];
 
-            if (x.length === 0) { 
-                return null; 
+            if (x.length === 0) {
+                return null;
             }
 
-            for (var i = 0 ; i < x.length ; i++) { 
+            for (var i = 0 ; i < x.length ; i++) {
                 if (typeof x[i] == "function") {
-                    x[i].call(this); 
+                    x[i].call(this);
                 }
             }
-            
+
             var today = $D.today();
-            
-            if (this.now && !this.unit && !this.operator) { 
-                return new Date(); 
+
+            if (this.now && !this.unit && !this.operator) {
+                return new Date();
             } else if (this.now) {
                 today = new Date();
             }
-            
+
             var expression = !!(this.days && this.days !== null || this.orient || this.operator);
-            
+
             var gap, mod, orient;
             orient = ((this.orient == "past" || this.operator == "subtract") ? -1 : 1);
-            
+
             if(!this.now && "hour minute second".indexOf(this.unit) != -1) {
                 today.setTimeToNow();
             }
                     expression = true;
                 }
             }
-            
+
             if (!expression && this.weekday && !this.day && !this.days) {
                 var temp = Date[this.weekday]();
                 this.day = temp.getDate();
                 }
                 this.year = temp.getFullYear();
             }
-            
+
             if (expression && this.weekday && this.unit != "month") {
                 this.unit = "day";
                 gap = ($D.getDayNumberFromName(this.weekday) - today.getDay());
                 mod = 7;
                 this.days = gap ? ((gap + (orient * mod)) % mod) : (orient * mod);
             }
-            
+
             if (this.month && this.unit == "day" && this.operator) {
                 this.value = (this.month + 1);
                 this.month = null;
             }
-       
+
             if (this.value != null && this.month != null && this.year != null) {
                 this.day = this.value * 1;
             }
-     
+
             if (this.month && !this.day && this.value) {
                 today.set({ day: this.value * 1 });
                 if (!expression) {
                 this.month = null;
             }
 
-            if (!this.unit) { 
-                this.unit = "day"; 
+            if (!this.unit) {
+                this.unit = "day";
             }
-            
+
             if (!this.value && this.operator && this.operator !== null && this[this.unit + "s"] && this[this.unit + "s"] !== null) {
                 this[this.unit + "s"] = this[this.unit + "s"] + ((this.operator == "add") ? 1 : -1) + (this.value||0) * orient;
             } else if (this[this.unit + "s"] == null || this.operator != null) {
                     this.hour = 0;
                 }
             }
-            
+
             if (this.weekday && !this.day && !this.days) {
                 var temp = Date[this.weekday]();
                 this.day = temp.getDate();
                     this.month = temp.getMonth();
                 }
             }
-            
-            if ((this.month || this.month === 0) && !this.day) { 
-                this.day = 1; 
+
+            if ((this.month || this.month === 0) && !this.day) {
+                this.day = 1;
             }
-            
+
             if (!this.orient && !this.operator && this.unit == "week" && this.value && !this.day && !this.month) {
                 return Date.today().setWeek(this.value);
             }
             if (expression && this.timezone && this.day && this.days) {
                 this.day = this.days;
             }
-            
+
             return (expression) ? today.add(this) : today.set(this);
         }
     };
 
     var _ = $D.Parsing.Operators, g = $D.Grammar, t = $D.Translator, _fn;
 
-    g.datePartDelimiter = _.rtoken(/^([\s\-\.\,\/\x27]+)/); 
+    g.datePartDelimiter = _.rtoken(/^([\s\-\.\,\/\x27]+)/);
     g.timePartDelimiter = _.stoken(":");
     g.whiteSpace = _.rtoken(/^\s*/);
     g.generalDelimiter = _.rtoken(/^(([\s\,]|at|@|on)+)/);
-  
+
     var _C = {};
     g.ctoken = function (keys) {
         var fn = _C[keys];
         if (! fn) {
             var c = $C.regexPatterns;
-            var kx = keys.split(/\s+/), px = []; 
+            var kx = keys.split(/\s+/), px = [];
             for (var i = 0; i < kx.length ; i++) {
                 px.push(_.replace(_.rtoken(c[kx[i]]), kx[i]));
             }
         }
         return fn;
     };
-    g.ctoken2 = function (key) { 
+    g.ctoken2 = function (key) {
         return _.rtoken($C.regexPatterns[key]);
     };
 
     g.s = _.cache(_.process(_.rtoken(/^([0-5][0-9]|[0-9])/), t.second));
     g.ss = _.cache(_.process(_.rtoken(/^[0-5][0-9]/), t.second));
     g.hms = _.cache(_.sequence([g.H, g.m, g.s], g.timePartDelimiter));
-  
+
     // _.min(1, _.set([ g.H, g.m, g.s ], g._t));
     g.t = _.cache(_.process(g.ctoken2("shortMeridian"), t.meridian));
     g.tt = _.cache(_.process(g.ctoken2("longMeridian"), t.meridian));
     g.z = _.cache(_.process(_.rtoken(/^((\+|\-)\s*\d\d\d\d)|((\+|\-)\d\d\:?\d\d)/), t.timezone));
     g.zz = _.cache(_.process(_.rtoken(/^((\+|\-)\s*\d\d\d\d)|((\+|\-)\d\d\:?\d\d)/), t.timezone));
-    
+
     g.zzz = _.cache(_.process(g.ctoken2("timezone"), t.timezone));
     g.timeSuffix = _.each(_.ignore(g.whiteSpace), _.set([ g.tt, g.zzz ]));
     g.time = _.each(_.optional(_.ignore(_.stoken("T"))), g.hms, g.timeSuffix);
-         
+
     // days, months, years
-    g.d = _.cache(_.process(_.each(_.rtoken(/^([0-2]\d|3[0-1]|\d)/), 
+    g.d = _.cache(_.process(_.each(_.rtoken(/^([0-2]\d|3[0-1]|\d)/),
         _.optional(g.ctoken2("ordinalSuffix"))), t.day));
-    g.dd = _.cache(_.process(_.each(_.rtoken(/^([0-2]\d|3[0-1])/), 
+    g.dd = _.cache(_.process(_.each(_.rtoken(/^([0-2]\d|3[0-1])/),
         _.optional(g.ctoken2("ordinalSuffix"))), t.day));
-    g.ddd = g.dddd = _.cache(_.process(g.ctoken("sun mon tue wed thu fri sat"), 
-        function (s) { 
-            return function () { 
-                this.weekday = s; 
-            }; 
+    g.ddd = g.dddd = _.cache(_.process(g.ctoken("sun mon tue wed thu fri sat"),
+        function (s) {
+            return function () {
+                this.weekday = s;
+            };
         }
     ));
     g.M = _.cache(_.process(_.rtoken(/^(1[0-2]|0\d|\d)/), t.month));
     g.yy = _.cache(_.process(_.rtoken(/^(\d\d)/), t.year));
     g.yyy = _.cache(_.process(_.rtoken(/^(\d\d?\d?\d?)/), t.year));
     g.yyyy = _.cache(_.process(_.rtoken(/^(\d\d\d\d)/), t.year));
-       
+
        // rolling these up into general purpose rules
-    _fn = function () { 
+    _fn = function () {
         return _.each(_.any.apply(null, arguments), _.not(g.ctoken2("timeContext")));
     };
-    
-    g.day = _fn(g.d, g.dd); 
-    g.month = _fn(g.M, g.MMM); 
+
+    g.day = _fn(g.d, g.dd);
+    g.month = _fn(g.M, g.MMM);
     g.year = _fn(g.yyyy, g.yy);
 
     // relative date / time expressions
-    g.orientation = _.process(g.ctoken("past future"), 
-        function (s) { 
-            return function () { 
-                this.orient = s; 
-            }; 
+    g.orientation = _.process(g.ctoken("past future"),
+        function (s) {
+            return function () {
+                this.orient = s;
+            };
         }
     );
-    g.operator = _.process(g.ctoken("add subtract"), 
-        function (s) { 
-            return function () { 
-                this.operator = s; 
-            }; 
+    g.operator = _.process(g.ctoken("add subtract"),
+        function (s) {
+            return function () {
+                this.operator = s;
+            };
         }
-    );  
+    );
     g.rday = _.process(g.ctoken("yesterday tomorrow today now"), t.rday);
-    g.unit = _.process(g.ctoken("second minute hour day week month year"), 
-        function (s) { 
-            return function () { 
-                this.unit = s; 
-            }; 
+    g.unit = _.process(g.ctoken("second minute hour day week month year"),
+        function (s) {
+            return function () {
+                this.unit = s;
+            };
         }
     );
-    g.value = _.process(_.rtoken(/^\d\d?(st|nd|rd|th)?/), 
-        function (s) { 
-            return function () { 
-                this.value = s.replace(/\D/g, ""); 
-            }; 
+    g.value = _.process(_.rtoken(/^\d\d?(st|nd|rd|th)?/),
+        function (s) {
+            return function () {
+                this.value = s.replace(/\D/g, "");
+            };
         }
     );
     g.expression = _.set([ g.rday, g.operator, g.value, g.unit, g.orientation, g.ddd, g.MMM ]);
 
     // pre-loaded rules for different date part order preferences
-    _fn = function () { 
-        return  _.set(arguments, g.datePartDelimiter); 
+    _fn = function () {
+        return  _.set(arguments, g.datePartDelimiter);
     };
     g.mdy = _fn(g.ddd, g.month, g.day, g.year);
     g.ymd = _fn(g.ddd, g.year, g.month, g.day);
     g.dmy = _fn(g.ddd, g.day, g.month, g.year);
-    g.date = function (s) { 
+    g.date = function (s) {
         return ((g[$C.dateElementOrder] || g.mdy).call(this, s));
-    }; 
+    };
 
-    // parsing date format specifiers - ex: "h:m:s tt" 
+    // parsing date format specifiers - ex: "h:m:s tt"
     // this little guy will generate a custom parser based
     // on the format string, ex: g.format("h:m:s tt")
     g.format = _.process(_.many(
         _.any(
         // translate format specifiers into grammar rules
         _.process(
-        _.rtoken(/^(dd?d?d?|MM?M?M?|yy?y?y?|hh?|HH?|mm?|ss?|tt?|zz?z?)/), 
-        function (fmt) { 
-        if (g[fmt]) { 
-            return g[fmt]; 
-        } else { 
-            throw $D.Parsing.Exception(fmt); 
+        _.rtoken(/^(dd?d?d?|MM?M?M?|yy?y?y?|hh?|HH?|mm?|ss?|tt?|zz?z?)/),
+        function (fmt) {
+        if (g[fmt]) {
+            return g[fmt];
+        } else {
+            throw $D.Parsing.Exception(fmt);
         }
     }
     ),
     // translate separator tokens into token rules
     _.process(
-    _.rtoken(/^[^dMyhHmstz]+/), // all legal separators 
-        function (s) { 
-            return _.ignore(_.stoken(s)); 
-        } 
+    _.rtoken(/^[^dMyhHmstz]+/), // all legal separators
+        function (s) {
+            return _.ignore(_.stoken(s));
+        }
     )
-    )), 
+    )),
         // construct the parser ...
-        function (rules) { 
-            return _.process(_.each.apply(null, rules), t.finishExact); 
+        function (rules) {
+            return _.process(_.each.apply(null, rules), t.finishExact);
         }
     );
-    
+
     var _F = {
-               //"M/d/yyyy": function (s) { 
+               //"M/d/yyyy": function (s) {
                //      var m = s.match(/^([0-2]\d|3[0-1]|\d)\/(1[0-2]|0\d|\d)\/(\d\d\d\d)/);
-               //      if (m!=null) { 
+               //      if (m!=null) {
                //              var r =  [ t.month.call(this,m[1]), t.day.call(this,m[2]), t.year.call(this,m[3]) ];
                //              r = t.finishExact.call(this,r);
                //              return [ r, "" ];
                //      }
                //}
                //"M/d/yyyy": function (s) { return [ new Date(Date._parse(s)), ""]; }
-       }; 
-    var _get = function (f) { 
-        return _F[f] = (_F[f] || g.format(f)[0]);      
+       };
+    var _get = function (f) {
+        return _F[f] = (_F[f] || g.format(f)[0]);
     };
-  
+
     g.formats = function (fx) {
         if (fx instanceof Array) {
-            var rx = []; 
+            var rx = [];
             for (var i = 0 ; i < fx.length ; i++) {
-                rx.push(_get(fx[i])); 
+                rx.push(_get(fx[i]));
             }
             return _.any.apply(null, rx);
-        } else { 
-            return _get(fx); 
+        } else {
+            return _get(fx);
         }
     };
 
     ]);
 
        // starting rule for general purpose grammar
-    g._start = _.process(_.set([ g.date, g.time, g.expression ], 
+    g._start = _.process(_.set([ g.date, g.time, g.expression ],
         g.generalDelimiter, g.whiteSpace), t.finish);
-       
-       // real starting rule: tries selected formats first, 
+
+       // real starting rule: tries selected formats first,
        // then general purpose rule
     g.start = function (s) {
-        try { 
-            var r = g._formats.call({}, s); 
+        try {
+            var r = g._formats.call({}, s);
             if (r[1].length === 0) {
-                return r; 
+                return r;
             }
         } catch (e) {}
         return g._start.call({}, s);
     };
-       
+
        $D._parse = $D.parse;
 
     /**
      * Converts the specified string value into its JavaScript Date equivalent using CultureInfo specific format information.
-     * 
+     *
      * Example
     <pre><code>
     ///////////
     var d1 = Date.parse("today - 1 year");
 
     // Today - 1 year
-    var d1 = Date.parse("t-1y"); 
+    var d1 = Date.parse("t-1y");
 
 
     /////////////////////////////
      * @return {Date}    A Date object or null if the string cannot be converted into a Date.
      */
     $D.parse = function (s) {
-        var r = null; 
-        if (!s) { 
-            return null; 
+        var r = null;
+        if (!s) {
+            return null;
         }
         if (s instanceof Date) {
             return s;
         }
-        try { 
-            r = $D.Grammar.start.call({}, s.replace(/^\s*(\S*(\s+\S+)*)\s*$/, "$1")); 
-        } catch (e) { 
-            return null; 
+        try {
+            r = $D.Grammar.start.call({}, s.replace(/^\s*(\S*(\s+\S+)*)\s*$/, "$1"));
+        } catch (e) {
+            return null;
         }
         return ((r[1].length === 0) ? r[0] : null);
     };
         var fn = $D.Grammar.formats(fx);
         return function (s) {
             var r = null;
-            try { 
-                r = fn.call({}, s); 
-            } catch (e) { 
-                return null; 
+            try {
+                r = fn.call({}, s);
+            } catch (e) {
+                return null;
             }
             return ((r[1].length === 0) ? r[0] : null);
         };
     };
-    
+
     /**
      * Converts the specified string value into its JavaScript Date equivalent using the specified format {String} or formats {Array} and the CultureInfo specific format information.
      * The format of the string value must match one of the supplied formats exactly.
-     * 
+     *
      * Example
     <pre><code>
     // 15-Oct-2004
      * @param {Object}   The expected format {String} or an array of expected formats {Array} of the date string [Required].
      * @return {Date}    A Date object or null if the string cannot be converted into a Date.
      */
-    $D.parseExact = function (s, fx) { 
-        return $D.getParseFunction(fx)(s); 
-    }; 
+    $D.parseExact = function (s, fx) {
+        return $D.getParseFunction(fx)(s);
+    };
 }());
index 757f152..6ab0ca9 100644 (file)
@@ -3,13 +3,13 @@ Date.CultureInfo = {
     name: "de-DE",
     englishName: "German (Germany)",
     nativeName: "Deutsch (Deutschland)",
-    
+
     /* Day Name Strings */
     dayNames: ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"],
     abbreviatedDayNames: ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"],
     shortestDayNames: ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"],
     firstLetterDayNames: ["S", "M", "D", "M", "D", "F", "S"],
-    
+
     /* Month Name Strings */
     monthNames: ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember"],
     abbreviatedMonthNames: ["Jan", "Feb", "Mrz", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez"],
@@ -20,15 +20,15 @@ Date.CultureInfo = {
 
     firstDayOfWeek: 1,
     twoDigitYearMax: 2029,
-    
+
     /**
-     * The dateElementOrder is based on the order of the 
-     * format specifiers in the formatPatterns.DatePattern. 
+     * The dateElementOrder is based on the order of the
+     * format specifiers in the formatPatterns.DatePattern.
      *
      * Example:
      <pre>
      shortDatePattern    dateElementOrder
-     ------------------  ---------------- 
+     ------------------  ----------------
      "M/d/yyyy"          "mdy"
      "dd/MM/yyyy"        "dmy"
      "yyyy-MM-dd"        "ymd"
@@ -39,7 +39,7 @@ Date.CultureInfo = {
      * string being parsed.
      */
     dateElementOrder: "dmy",
-    
+
     /* Standard date and time format patterns */
     formatPatterns: {
         shortDate: "dd.MM.yyyy",
@@ -56,31 +56,31 @@ Date.CultureInfo = {
 
     /**
      * NOTE: If a string format is not parsing correctly, but
-     * you would expect it parse, the problem likely lies below. 
-     * 
+     * you would expect it parse, the problem likely lies below.
+     *
      * The following regex patterns control most of the string matching
      * within the parser.
-     * 
+     *
      * The Month name and Day name patterns were automatically generated
-     * and in general should be (mostly) correct. 
+     * and in general should be (mostly) correct.
      *
      * Beyond the month and day name patterns are natural language strings.
      * Example: "next", "today", "months"
      *
-     * These natural language string may NOT be correct for this culture. 
+     * These natural language string may NOT be correct for this culture.
      * If they are not correct, please translate and edit this file
-     * providing the correct regular expression pattern. 
+     * providing the correct regular expression pattern.
      *
      * If you modify this file, please post your revised CultureInfo file
      * to the Datejs Forum located at http://www.datejs.com/forums/.
      *
      * Please mark the subject of the post with [CultureInfo]. Example:
      *    Subject: [CultureInfo] Translated "da-DK" Danish(Denmark)
-     * 
+     *
      * We will add the modified patterns to the master source files.
      *
-     * As well, please review the list of "Future Strings" section below. 
-     */        
+     * As well, please review the list of "Future Strings" section below.
+     */
     regexPatterns: {
         jan: /^jan(uar)?/i,
         feb: /^feb(ruar)?/i,
@@ -107,12 +107,12 @@ Date.CultureInfo = {
         past: /^last|past|prev(ious)?/i,
         add: /^(\+|aft(er)?|from|hence)/i,
         subtract: /^(\-|bef(ore)?|ago)/i,
-        
+
         yesterday: /^yes(terday)?/i,
         today: /^t(od(ay)?)?/i,
         tomorrow: /^tom(orrow)?/i,
         now: /^n(ow)?/i,
-        
+
         millisecond: /^ms|milli(second)?s?/i,
         second: /^sec(ond)?s?/i,
         minute: /^mn|min(ute)?s?/i,
@@ -121,7 +121,7 @@ Date.CultureInfo = {
         month: /^m(onth)?s?/i,
         day: /^d(ay)?s?/i,
         year: /^y(ear)?s?/i,
-               
+
         shortMeridian: /^(a|p)/i,
         longMeridian: /^(a\.?m?\.?|p\.?m?\.?)/i,
         timezone: /^((e(s|d)t|c(s|d)t|m(s|d)t|p(s|d)t)|((gmt)?\s*(\+|\-)\s*\d\d\d\d?)|gmt|utc)/i,
@@ -135,12 +135,12 @@ Date.CultureInfo = {
 /********************
  ** Future Strings **
  ********************
- * 
- * The following list of strings may not be currently being used, but 
- * may be incorporated into the Datejs library later. 
+ *
+ * The following list of strings may not be currently being used, but
+ * may be incorporated into the Datejs library later.
  *
  * We would appreciate any help translating the strings below.
- * 
+ *
  * If you modify this file, please post your revised CultureInfo file
  * to the Datejs Forum located at http://www.datejs.com/forums/.
  *
@@ -192,4 +192,4 @@ Date.CultureInfo = {
  * end                 end
  * long                long
  * short               short
- */
\ No newline at end of file
+ */
index 7d16738..6d44c4a 100644 (file)
@@ -3,13 +3,13 @@ Date.CultureInfo = {
     name: "el-GR",
     englishName: "Greek (Greece)",
     nativeName: "ελληνικά (Ελλάδα)",
-    
+
     /* Day Name Strings */
     dayNames: ["Κυριακή", "Δευτέρα", "Τρίτη", "Τετάρτη", "Πέμπτη", "Παρασκευή", "Σάββατο"],
     abbreviatedDayNames: ["Κυρ", "Δευ", "Τρι", "Τετ", "Πεμ", "Παρ", "Σαβ"],
     shortestDayNames: ["Κυ", "Δε", "Τρ", "Τε", "Πε", "Πα", "Σά"],
     firstLetterDayNames: ["Κ", "Δ", "Τ", "Τ", "Π", "Π", "Σ"],
-    
+
     /* Month Name Strings */
     monthNames: ["Ιανουάριος", "Φεβρουάριος", "Μάρτιος", "Απρίλιος", "Μάιος", "Ιούνιος", "Ιούλιος", "Αύγουστος", "Σεπτέμβριος", "Οκτώβριος", "Νοέμβριος", "Δεκέμβριος"],
     abbreviatedMonthNames: ["Ιαν", "Φεβ", "Μαρ", "Απρ", "Μαϊ", "Ιουν", "Ιουλ", "Αυγ", "Σεπ", "Οκτ", "Νοε", "Δεκ"],
@@ -20,15 +20,15 @@ Date.CultureInfo = {
 
     firstDayOfWeek: 1,
     twoDigitYearMax: 2029,
-    
+
     /**
-     * The dateElementOrder is based on the order of the 
-     * format specifiers in the formatPatterns.DatePattern. 
+     * The dateElementOrder is based on the order of the
+     * format specifiers in the formatPatterns.DatePattern.
      *
      * Example:
      <pre>
      shortDatePattern    dateElementOrder
-     ------------------  ---------------- 
+     ------------------  ----------------
      "M/d/yyyy"          "mdy"
      "dd/MM/yyyy"        "dmy"
      "yyyy-MM-dd"        "ymd"
@@ -39,7 +39,7 @@ Date.CultureInfo = {
      * string being parsed.
      */
     dateElementOrder: "dmy",
-    
+
     /* Standard date and time format patterns */
     formatPatterns: {
         shortDate: "d/M/yyyy",
@@ -56,31 +56,31 @@ Date.CultureInfo = {
 
     /**
      * NOTE: If a string format is not parsing correctly, but
-     * you would expect it parse, the problem likely lies below. 
-     * 
+     * you would expect it parse, the problem likely lies below.
+     *
      * The following regex patterns control most of the string matching
      * within the parser.
-     * 
+     *
      * The Month name and Day name patterns were automatically generated
-     * and in general should be (mostly) correct. 
+     * and in general should be (mostly) correct.
      *
      * Beyond the month and day name patterns are natural language strings.
      * Example: "next", "today", "months"
      *
-     * These natural language string may NOT be correct for this culture. 
+     * These natural language string may NOT be correct for this culture.
      * If they are not correct, please translate and edit this file
-     * providing the correct regular expression pattern. 
+     * providing the correct regular expression pattern.
      *
      * If you modify this file, please post your revised CultureInfo file
      * to the Datejs Forum located at http://www.datejs.com/forums/.
      *
      * Please mark the subject of the post with [CultureInfo]. Example:
      *    Subject: [CultureInfo] Translated "da-DK" Danish(Denmark)
-     * 
+     *
      * We will add the modified patterns to the master source files.
      *
-     * As well, please review the list of "Future Strings" section below. 
-     */        
+     * As well, please review the list of "Future Strings" section below.
+     */
     regexPatterns: {
         jan: /^ιαν(ουάριος)?/i,
         feb: /^φεβ(ρουάριος)?/i,
@@ -107,12 +107,12 @@ Date.CultureInfo = {
         past: /^last|past|prev(ious)?/i,
         add: /^(\+|aft(er)?|from|hence)/i,
         subtract: /^(\-|bef(ore)?|ago)/i,
-        
+
         yesterday: /^yes(terday)?/i,
         today: /^t(od(ay)?)?/i,
         tomorrow: /^tom(orrow)?/i,
         now: /^n(ow)?/i,
-        
+
         millisecond: /^ms|milli(second)?s?/i,
         second: /^sec(ond)?s?/i,
         minute: /^mn|min(ute)?s?/i,
@@ -121,7 +121,7 @@ Date.CultureInfo = {
         month: /^m(onth)?s?/i,
         day: /^d(ay)?s?/i,
         year: /^y(ear)?s?/i,
-               
+
         shortMeridian: /^(a|p)/i,
         longMeridian: /^(a\.?m?\.?|p\.?m?\.?)/i,
         timezone: /^((e(s|d)t|c(s|d)t|m(s|d)t|p(s|d)t)|((gmt)?\s*(\+|\-)\s*\d\d\d\d?)|gmt|utc)/i,
@@ -135,12 +135,12 @@ Date.CultureInfo = {
 /********************
  ** Future Strings **
  ********************
- * 
- * The following list of strings may not be currently being used, but 
- * may be incorporated into the Datejs library later. 
+ *
+ * The following list of strings may not be currently being used, but
+ * may be incorporated into the Datejs library later.
  *
  * We would appreciate any help translating the strings below.
- * 
+ *
  * If you modify this file, please post your revised CultureInfo file
  * to the Datejs Forum located at http://www.datejs.com/forums/.
  *
@@ -192,4 +192,4 @@ Date.CultureInfo = {
  * end                 end
  * long                long
  * short               short
- */
\ No newline at end of file
+ */
index 190edc9..7761243 100644 (file)
@@ -3,13 +3,13 @@ Date.CultureInfo = {
     name: "en-US",
     englishName: "English (United States)",
     nativeName: "English (United States)",
-    
+
     /* Day Name Strings */
     dayNames: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
     abbreviatedDayNames: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
     shortestDayNames: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
     firstLetterDayNames: ["S", "M", "T", "W", "T", "F", "S"],
-    
+
     /* Month Name Strings */
     monthNames: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],
     abbreviatedMonthNames: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
@@ -20,15 +20,15 @@ Date.CultureInfo = {
 
     firstDayOfWeek: 0,
     twoDigitYearMax: 2029,
-    
+
     /**
-     * The dateElementOrder is based on the order of the 
-     * format specifiers in the formatPatterns.DatePattern. 
+     * The dateElementOrder is based on the order of the
+     * format specifiers in the formatPatterns.DatePattern.
      *
      * Example:
      <pre>
      shortDatePattern    dateElementOrder
-     ------------------  ---------------- 
+     ------------------  ----------------
      "M/d/yyyy"          "mdy"
      "dd/MM/yyyy"        "dmy"
      "yyyy-MM-dd"        "ymd"
@@ -39,7 +39,7 @@ Date.CultureInfo = {
      * string being parsed.
      */
     dateElementOrder: "mdy",
-    
+
     /* Standard date and time format patterns */
     formatPatterns: {
         shortDate: "M/d/yyyy",
@@ -56,31 +56,31 @@ Date.CultureInfo = {
 
     /**
      * NOTE: If a string format is not parsing correctly, but
-     * you would expect it parse, the problem likely lies below. 
-     * 
+     * you would expect it parse, the problem likely lies below.
+     *
      * The following regex patterns control most of the string matching
      * within the parser.
-     * 
+     *
      * The Month name and Day name patterns were automatically generated
-     * and in general should be (mostly) correct. 
+     * and in general should be (mostly) correct.
      *
      * Beyond the month and day name patterns are natural language strings.
      * Example: "next", "today", "months"
      *
-     * These natural language string may NOT be correct for this culture. 
+     * These natural language string may NOT be correct for this culture.
      * If they are not correct, please translate and edit this file
-     * providing the correct regular expression pattern. 
+     * providing the correct regular expression pattern.
      *
      * If you modify this file, please post your revised CultureInfo file
      * to the Datejs Forum located at http://www.datejs.com/forums/.
      *
      * Please mark the subject of the post with [CultureInfo]. Example:
      *    Subject: [CultureInfo] Translated "da-DK" Danish(Denmark)
-     * 
+     *
      * We will add the modified patterns to the master source files.
      *
-     * As well, please review the list of "Future Strings" section below. 
-     */        
+     * As well, please review the list of "Future Strings" section below.
+     */
     regexPatterns: {
         jan: /^jan(uary)?/i,
         feb: /^feb(ruary)?/i,
@@ -107,12 +107,12 @@ Date.CultureInfo = {
         past: /^last|past|prev(ious)?/i,
         add: /^(\+|aft(er)?|from|hence)/i,
         subtract: /^(\-|bef(ore)?|ago)/i,
-        
+
         yesterday: /^yes(terday)?/i,
         today: /^t(od(ay)?)?/i,
         tomorrow: /^tom(orrow)?/i,
         now: /^n(ow)?/i,
-        
+
         millisecond: /^ms|milli(second)?s?/i,
         second: /^sec(ond)?s?/i,
         minute: /^mn|min(ute)?s?/i,
@@ -121,7 +121,7 @@ Date.CultureInfo = {
         month: /^m(onth)?s?/i,
         day: /^d(ay)?s?/i,
         year: /^y(ear)?s?/i,
-               
+
         shortMeridian: /^(a|p)/i,
         longMeridian: /^(a\.?m?\.?|p\.?m?\.?)/i,
         timezone: /^((e(s|d)t|c(s|d)t|m(s|d)t|p(s|d)t)|((gmt)?\s*(\+|\-)\s*\d\d\d\d?)|gmt|utc)/i,
@@ -135,12 +135,12 @@ Date.CultureInfo = {
 /********************
  ** Future Strings **
  ********************
- * 
- * The following list of strings may not be currently being used, but 
- * may be incorporated into the Datejs library later. 
+ *
+ * The following list of strings may not be currently being used, but
+ * may be incorporated into the Datejs library later.
  *
  * We would appreciate any help translating the strings below.
- * 
+ *
  * If you modify this file, please post your revised CultureInfo file
  * to the Datejs Forum located at http://www.datejs.com/forums/.
  *
@@ -192,4 +192,4 @@ Date.CultureInfo = {
  * end                 end
  * long                long
  * short               short
- */
\ No newline at end of file
+ */
index 91e7183..f5f9710 100644 (file)
@@ -3,13 +3,13 @@ Date.CultureInfo = {
     name: "es-ES",
     englishName: "Spanish (Spain)",
     nativeName: "español (España)",
-    
+
     /* Day Name Strings */
     dayNames: ["domingo", "lunes", "martes", "miércoles", "jueves", "viernes", "sábado"],
     abbreviatedDayNames: ["dom", "lun", "mar", "mié", "jue", "vie", "sáb"],
     shortestDayNames: ["do", "lu", "ma", "mi", "ju", "vi", "sá"],
     firstLetterDayNames: ["d", "l", "m", "m", "j", "v", "s"],
-    
+
     /* Month Name Strings */
     monthNames: ["enero", "febrero", "marzo", "abril", "mayo", "junio", "julio", "agosto", "septiembre", "octubre", "noviembre", "diciembre"],
     abbreviatedMonthNames: ["ene", "feb", "mar", "abr", "may", "jun", "jul", "ago", "sep", "oct", "nov", "dic"],
@@ -20,15 +20,15 @@ Date.CultureInfo = {
 
     firstDayOfWeek: 1,
     twoDigitYearMax: 2029,
-    
+
     /**
-     * The dateElementOrder is based on the order of the 
-     * format specifiers in the formatPatterns.DatePattern. 
+     * The dateElementOrder is based on the order of the
+     * format specifiers in the formatPatterns.DatePattern.
      *
      * Example:
      <pre>
      shortDatePattern    dateElementOrder
-     ------------------  ---------------- 
+     ------------------  ----------------
      "M/d/yyyy"          "mdy"
      "dd/MM/yyyy"        "dmy"
      "yyyy-MM-dd"        "ymd"
@@ -39,7 +39,7 @@ Date.CultureInfo = {
      * string being parsed.
      */
     dateElementOrder: "dmy",
-    
+
     /* Standard date and time format patterns */
     formatPatterns: {
         shortDate: "dd/MM/yyyy",
@@ -56,31 +56,31 @@ Date.CultureInfo = {
 
     /**
      * NOTE: If a string format is not parsing correctly, but
-     * you would expect it parse, the problem likely lies below. 
-     * 
+     * you would expect it parse, the problem likely lies below.
+     *
      * The following regex patterns control most of the string matching
      * within the parser.
-     * 
+     *
      * The Month name and Day name patterns were automatically generated
-     * and in general should be (mostly) correct. 
+     * and in general should be (mostly) correct.
      *
      * Beyond the month and day name patterns are natural language strings.
      * Example: "next", "today", "months"
      *
-     * These natural language string may NOT be correct for this culture. 
+     * These natural language string may NOT be correct for this culture.
      * If they are not correct, please translate and edit this file
-     * providing the correct regular expression pattern. 
+     * providing the correct regular expression pattern.
      *
      * If you modify this file, please post your revised CultureInfo file
      * to the Datejs Forum located at http://www.datejs.com/forums/.
      *
      * Please mark the subject of the post with [CultureInfo]. Example:
      *    Subject: [CultureInfo] Translated "da-DK" Danish(Denmark)
-     * 
+     *
      * We will add the modified patterns to the master source files.
      *
-     * As well, please review the list of "Future Strings" section below. 
-     */        
+     * As well, please review the list of "Future Strings" section below.
+     */
     regexPatterns: {
         jan: /^ene(ro)?/i,
         feb: /^feb(rero)?/i,
@@ -107,12 +107,12 @@ Date.CultureInfo = {
         past: /^last|past|prev(ious)?/i,
         add: /^(\+|aft(er)?|from|hence)/i,
         subtract: /^(\-|bef(ore)?|ago)/i,
-        
+
         yesterday: /^yes(terday)?/i,
         today: /^t(od(ay)?)?/i,
         tomorrow: /^tom(orrow)?/i,
         now: /^n(ow)?/i,
-        
+
         millisecond: /^ms|milli(second)?s?/i,
         second: /^sec(ond)?s?/i,
         minute: /^mn|min(ute)?s?/i,
@@ -121,7 +121,7 @@ Date.CultureInfo = {
         month: /^m(onth)?s?/i,
         day: /^d(ay)?s?/i,
         year: /^y(ear)?s?/i,
-               
+
         shortMeridian: /^(a|p)/i,
         longMeridian: /^(a\.?m?\.?|p\.?m?\.?)/i,
         timezone: /^((e(s|d)t|c(s|d)t|m(s|d)t|p(s|d)t)|((gmt)?\s*(\+|\-)\s*\d\d\d\d?)|gmt|utc)/i,
@@ -135,12 +135,12 @@ Date.CultureInfo = {
 /********************
  ** Future Strings **
  ********************
- * 
- * The following list of strings may not be currently being used, but 
- * may be incorporated into the Datejs library later. 
+ *
+ * The following list of strings may not be currently being used, but
+ * may be incorporated into the Datejs library later.
  *
  * We would appreciate any help translating the strings below.
- * 
+ *
  * If you modify this file, please post your revised CultureInfo file
  * to the Datejs Forum located at http://www.datejs.com/forums/.
  *
@@ -192,4 +192,4 @@ Date.CultureInfo = {
  * end                 end
  * long                long
  * short               short
- */
\ No newline at end of file
+ */
index aef9fdd..70be419 100644 (file)
@@ -3,13 +3,13 @@ Date.CultureInfo = {
     name: "et-EE",
     englishName: "Estonian (Estonia)",
     nativeName: "eesti (Eesti)",
-    
+
     /* Day Name Strings */
     dayNames: ["pühapäev", "esmaspäev", "teisipäev", "kolmapäev", "neljapäev", "reede", "laupäev"],
     abbreviatedDayNames: ["P", "E", "T", "K", "N", "R", "L"],
     shortestDayNames: ["P", "E", "T", "K", "N", "R", "L"],
     firstLetterDayNames: ["P", "E", "T", "K", "N", "R", "L"],
-    
+
     /* Month Name Strings */
     monthNames: ["jaanuar", "veebruar", "märts", "aprill", "mai", "juuni", "juuli", "august", "september", "oktoober", "november", "detsember"],
     abbreviatedMonthNames: ["jaan", "veebr", "märts", "apr", "mai", "juuni", "juuli", "aug", "sept", "okt", "nov", "dets"],
@@ -20,15 +20,15 @@ Date.CultureInfo = {
 
     firstDayOfWeek: 1,
     twoDigitYearMax: 2029,
-    
+
     /**
-     * The dateElementOrder is based on the order of the 
-     * format specifiers in the formatPatterns.DatePattern. 
+     * The dateElementOrder is based on the order of the
+     * format specifiers in the formatPatterns.DatePattern.
      *
      * Example:
      <pre>
      shortDatePattern    dateElementOrder
-     ------------------  ---------------- 
+     ------------------  ----------------
      "M/d/yyyy"          "mdy"
      "dd/MM/yyyy"        "dmy"
      "yyyy-MM-dd"        "ymd"
@@ -39,7 +39,7 @@ Date.CultureInfo = {
      * string being parsed.
      */
     dateElementOrder: "dmy",
-    
+
     /* Standard date and time format patterns */
     formatPatterns: {
         shortDate: "d.MM.yyyy",
@@ -56,31 +56,31 @@ Date.CultureInfo = {
 
     /**
      * NOTE: If a string format is not parsing correctly, but
-     * you would expect it parse, the problem likely lies below. 
-     * 
+     * you would expect it parse, the problem likely lies below.
+     *
      * The following regex patterns control most of the string matching
      * within the parser.
-     * 
+     *
      * The Month name and Day name patterns were automatically generated
-     * and in general should be (mostly) correct. 
+     * and in general should be (mostly) correct.
      *
      * Beyond the month and day name patterns are natural language strings.
      * Example: "next", "today", "months"
      *
-     * These natural language string may NOT be correct for this culture. 
+     * These natural language string may NOT be correct for this culture.
      * If they are not correct, please translate and edit this file
-     * providing the correct regular expression pattern. 
+     * providing the correct regular expression pattern.
      *
      * If you modify this file, please post your revised CultureInfo file
      * to the Datejs Forum located at http://www.datejs.com/forums/.
      *
      * Please mark the subject of the post with [CultureInfo]. Example:
      *    Subject: [CultureInfo] Translated "da-DK" Danish(Denmark)
-     * 
+     *
      * We will add the modified patterns to the master source files.
      *
-     * As well, please review the list of "Future Strings" section below. 
-     */        
+     * As well, please review the list of "Future Strings" section below.
+     */
     regexPatterns: {
         jan: /^jaan(uar)?/i,
         feb: /^veebr(uar)?/i,
@@ -107,12 +107,12 @@ Date.CultureInfo = {
         past: /^last|past|prev(ious)?/i,
         add: /^(\+|aft(er)?|from|hence)/i,
         subtract: /^(\-|bef(ore)?|ago)/i,
-        
+
         yesterday: /^yes(terday)?/i,
         today: /^t(od(ay)?)?/i,
         tomorrow: /^tom(orrow)?/i,
         now: /^n(ow)?/i,
-        
+
         millisecond: /^ms|milli(second)?s?/i,
         second: /^sec(ond)?s?/i,
         minute: /^mn|min(ute)?s?/i,
@@ -121,7 +121,7 @@ Date.CultureInfo = {
         month: /^m(onth)?s?/i,
         day: /^d(ay)?s?/i,
         year: /^y(ear)?s?/i,
-               
+
         shortMeridian: /^(a|p)/i,
         longMeridian: /^(a\.?m?\.?|p\.?m?\.?)/i,
         timezone: /^((e(s|d)t|c(s|d)t|m(s|d)t|p(s|d)t)|((gmt)?\s*(\+|\-)\s*\d\d\d\d?)|gmt|utc)/i,
@@ -135,12 +135,12 @@ Date.CultureInfo = {
 /********************
  ** Future Strings **
  ********************
- * 
- * The following list of strings may not be currently being used, but 
- * may be incorporated into the Datejs library later. 
+ *
+ * The following list of strings may not be currently being used, but
+ * may be incorporated into the Datejs library later.
  *
  * We would appreciate any help translating the strings below.
- * 
+ *
  * If you modify this file, please post your revised CultureInfo file
  * to the Datejs Forum located at http://www.datejs.com/forums/.
  *
@@ -192,4 +192,4 @@ Date.CultureInfo = {
  * end                 end
  * long                long
  * short               short
- */
\ No newline at end of file
+ */
index 44d0cfa..1aac453 100644 (file)
@@ -3,13 +3,13 @@ Date.CultureInfo = {
     name: "eu-ES",
     englishName: "Basque (Basque)",
     nativeName: "euskara (euskara)",
-    
+
     /* Day Name Strings */
     dayNames: ["igandea", "astelehena", "asteartea", "asteazkena", "osteguna", "ostirala", "larunbata"],
     abbreviatedDayNames: ["ig.", "al.", "as.", "az.", "og.", "or.", "lr."],
     shortestDayNames: ["ig", "al", "as", "az", "og", "or", "lr"],
     firstLetterDayNames: ["i", "a", "a", "a", "o", "o", "l"],
-    
+
     /* Month Name Strings */
     monthNames: ["urtarrila", "otsaila", "martxoa", "apirila", "maiatza", "ekaina", "uztaila", "abuztua", "iraila", "urria", "azaroa", "abendua"],
     abbreviatedMonthNames: ["urt.", "ots.", "mar.", "api.", "mai.", "eka.", "uzt.", "abu.", "ira.", "urr.", "aza.", "abe."],
@@ -20,15 +20,15 @@ Date.CultureInfo = {
 
     firstDayOfWeek: 1,
     twoDigitYearMax: 2029,
-    
+
     /**
-     * The dateElementOrder is based on the order of the 
-     * format specifiers in the formatPatterns.DatePattern. 
+     * The dateElementOrder is based on the order of the
+     * format specifiers in the formatPatterns.DatePattern.
      *
      * Example:
      <pre>
      shortDatePattern    dateElementOrder
-     ------------------  ---------------- 
+     ------------------  ----------------
      "M/d/yyyy"          "mdy"
      "dd/MM/yyyy"        "dmy"
      "yyyy-MM-dd"        "ymd"
@@ -39,7 +39,7 @@ Date.CultureInfo = {
      * string being parsed.
      */
     dateElementOrder: "ymd",
-    
+
     /* Standard date and time format patterns */
     formatPatterns: {
         shortDate: "yyyy/MM/dd",
@@ -56,31 +56,31 @@ Date.CultureInfo = {
 
     /**
      * NOTE: If a string format is not parsing correctly, but
-     * you would expect it parse, the problem likely lies below. 
-     * 
+     * you would expect it parse, the problem likely lies below.
+     *
      * The following regex patterns control most of the string matching
      * within the parser.
-     * 
+     *
      * The Month name and Day name patterns were automatically generated
-     * and in general should be (mostly) correct. 
+     * and in general should be (mostly) correct.
      *
      * Beyond the month and day name patterns are natural language strings.
      * Example: "next", "today", "months"
      *
-     * These natural language string may NOT be correct for this culture. 
+     * These natural language string may NOT be correct for this culture.
      * If they are not correct, please translate and edit this file
-     * providing the correct regular expression pattern. 
+     * providing the correct regular expression pattern.
      *
      * If you modify this file, please post your revised CultureInfo file
      * to the Datejs Forum located at http://www.datejs.com/forums/.
      *
      * Please mark the subject of the post with [CultureInfo]. Example:
      *    Subject: [CultureInfo] Translated "da-DK" Danish(Denmark)
-     * 
+     *
      * We will add the modified patterns to the master source files.
      *
-     * As well, please review the list of "Future Strings" section below. 
-     */        
+     * As well, please review the list of "Future Strings" section below.
+     */
     regexPatterns: {
         jan: /^urt(.(arrila)?)?/i,
         feb: /^ots(.(aila)?)?/i,
@@ -107,12 +107,12 @@ Date.CultureInfo = {
         past: /^last|past|prev(ious)?/i,
         add: /^(\+|aft(er)?|from|hence)/i,
         subtract: /^(\-|bef(ore)?|ago)/i,
-        
+
         yesterday: /^yes(terday)?/i,
         today: /^t(od(ay)?)?/i,
         tomorrow: /^tom(orrow)?/i,
         now: /^n(ow)?/i,
-        
+
         millisecond: /^ms|milli(second)?s?/i,
         second: /^sec(ond)?s?/i,
         minute: /^mn|min(ute)?s?/i,
@@ -121,7 +121,7 @@ Date.CultureInfo = {
         month: /^m(onth)?s?/i,
         day: /^d(ay)?s?/i,
         year: /^y(ear)?s?/i,
-               
+
         shortMeridian: /^(a|p)/i,
         longMeridian: /^(a\.?m?\.?|p\.?m?\.?)/i,
         timezone: /^((e(s|d)t|c(s|d)t|m(s|d)t|p(s|d)t)|((gmt)?\s*(\+|\-)\s*\d\d\d\d?)|gmt|utc)/i,
@@ -135,12 +135,12 @@ Date.CultureInfo = {
 /********************
  ** Future Strings **
  ********************
- * 
- * The following list of strings may not be currently being used, but 
- * may be incorporated into the Datejs library later. 
+ *
+ * The following list of strings may not be currently being used, but
+ * may be incorporated into the Datejs library later.
  *
  * We would appreciate any help translating the strings below.
- * 
+ *
  * If you modify this file, please post your revised CultureInfo file
  * to the Datejs Forum located at http://www.datejs.com/forums/.
  *
@@ -192,4 +192,4 @@ Date.CultureInfo = {
  * end                 end
  * long                long
  * short               short
- */
\ No newline at end of file
+ */
index 9693617..b679b93 100644 (file)
@@ -3,13 +3,13 @@
  * @author: Coolite Inc. http://www.coolite.com/
  * @date: 2008-04-13
  * @copyright: Copyright (c) 2006-2008, Coolite Inc. (http://www.coolite.com/). All rights reserved.
- * @license: Licensed under The MIT License. See license.txt and http://www.datejs.com/license/. 
+ * @license: Licensed under The MIT License. See license.txt and http://www.datejs.com/license/.
  * @website: http://www.datejs.com/
  */
+
 (function () {
-    var $D = Date, 
-        $P = $D.prototype, 
+    var $D = Date,
+        $P = $D.prototype,
         $C = $D.CultureInfo,
         $f = [],
         p = function (s, l) {
@@ -20,7 +20,7 @@
         };
 
     /**
-     * Converts a PHP format string to Java/.NET format string. 
+     * Converts a PHP format string to Java/.NET format string.
      * A PHP format string can be used with .$format or .format.
      * A Java/.NET format string can be used with .toString().
      * The .parseExact function will only accept a Java/.NET format string
      <pre>
      var f1 = "%m/%d/%y"
      var f2 = Date.normalizeFormat(f1); // "MM/dd/yy"
-     
+
      new Date().format(f1);    // "04/13/08"
      new Date().$format(f1);   // "04/13/08"
      new Date().toString(f2);  // "04/13/08"
-     
+
      var date = Date.parseExact("04/13/08", f2); // Sun Apr 13 2008
      </pre>
      * @param {String}   A PHP format string consisting of one or more format spcifiers.
      * @return {String}  The PHP format converted to a Java/.NET format string.
-     */        
+     */
     $D.normalizeFormat = function (format) {
         $f = [];
         var t = new Date().$format(format);
 
     /**
      * Format a local Unix timestamp according to locale settings
-     * 
+     *
      * Example
      <pre>
      Date.strftime("%m/%d/%y", new Date());       // "04/13/08"
      Date.strftime("c", "2008-04-13T17:52:03Z");  // "04/13/08"
      </pre>
      * @param {String}   A format string consisting of one or more format spcifiers [Optional].
-     * @param {Number}   The number representing the number of seconds that have elapsed since January 1, 1970 (local time). 
+     * @param {Number}   The number representing the number of seconds that have elapsed since January 1, 1970 (local time).
      * @return {String}  A string representation of the current Date object.
      */
     $D.strftime = function (format, time) {
@@ -62,9 +62,9 @@
     };
 
     /**
-     * Parse any textual datetime description into a Unix timestamp. 
+     * Parse any textual datetime description into a Unix timestamp.
      * A Unix timestamp is the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT).
-     * 
+     *
      * Example
      <pre>
      Date.strtotime("04/13/08");              // 1208044800
@@ -83,9 +83,9 @@
     /**
      * Converts the value of the current Date object to its equivalent string representation using a PHP/Unix style of date format specifiers.
      *
-     * The following descriptions are from http://www.php.net/strftime and http://www.php.net/manual/en/function.date.php. 
+     * The following descriptions are from http://www.php.net/strftime and http://www.php.net/manual/en/function.date.php.
      * Copyright © 2001-2008 The PHP Group
-     * 
+     *
      * Format Specifiers
      <pre>
     Format  Description                                                                  Example
      %e     day of the month as a decimal number, a single digit is preceded by a space  "1" to "31"
      %g     like %G, but without the century                                             "08"
      %G     The 4-digit year corresponding to the ISO week number (see %V).              "2008"
-            This has the same format and value as %Y, except that if the ISO week number 
+            This has the same format and value as %Y, except that if the ISO week number
             belongs to the previous or next year, that year is used instead.
      %h     same as %b                                                                   "Jan" through "Dec"
      %H     hour as a decimal number using a 24-hour clock                               "00" to "23"
      %U     week number of the current year as a decimal number, starting with the       "0" to ("52" or "53")
             first Sunday as the first day of the first week
      %V     The ISO 8601:1988 week number of the current year as a decimal number,       "00" to ("52" or "53")
-            range 01 to 53, where week 1 is the first week that has at least 4 days 
-            in the current year, and with Monday as the first day of the week. 
-            (Use %G or %g for the year component that corresponds to the week number 
+            range 01 to 53, where week 1 is the first week that has at least 4 days
+            in the current year, and with Monday as the first day of the week.
+            (Use %G or %g for the year component that corresponds to the week number
             for the specified timestamp.)
      %W     week number of the current year as a decimal number, starting with the       "00" to ("52" or "53")
             first Monday as the first day of the first week
      %y     year as a decimal number without a century                                   "00" "99"
      %Y     year as a decimal number including the century                               "2008"
      %Z     time zone or name or abbreviation                                            "UTC", "EST", "PST"
-     %z     same as %Z 
+     %z     same as %Z
      %%     a literal "%" character                                                      "%"
-      
+
      d      Day of the month, 2 digits with leading zeros                                "01" to "31"
      D      A textual representation of a day, three letters                             "Mon" through "Sun"
      j      Day of the month without leading zeros                                       "1" to "31"
      N      ISO-8601 numeric representation of the day of the week (added in PHP 5.1.0)  "1" (for Monday) through "7" (for Sunday)
      S      English ordinal suffix for the day of the month, 2 characters                "st", "nd", "rd" or "th". Works well with j
      w      Numeric representation of the day of the week                                "0" (for Sunday) through "6" (for Saturday)
-     z      The day of the year (starting from "0")                                      "0" through "365"      
+     z      The day of the year (starting from "0")                                      "0" through "365"
      W      ISO-8601 week number of year, weeks starting on Monday                       "00" to ("52" or "53")
      F      A full textual representation of a month, such as January or March           "January" through "December"
      m      Numeric representation of a month, with leading zeros                        "01" through "12"
      t      Number of days in the given month                                            "28" through "31"
      L      Whether it's a leap year                                                     "1" if it is a leap year, "0" otherwise
      o      ISO-8601 year number. This has the same value as Y, except that if the       "2008"
-            ISO week number (W) belongs to the previous or next year, that year 
+            ISO week number (W) belongs to the previous or next year, that year
             is used instead.
      Y      A full numeric representation of a year, 4 digits                            "2008"
      y      A two digit representation of a year                                         "08"
             always negative, and for those east of UTC is always positive.
      c      ISO 8601 date                                                                "2004-02-12T15:19:21+00:00"
      r      RFC 2822 formatted date                                                      "Thu, 21 Dec 2000 16:01:07 +0200"
-     U      Seconds since the Unix Epoch (January 1 1970 00:00:00 GMT)                   "0"     
+     U      Seconds since the Unix Epoch (January 1 1970 00:00:00 GMT)                   "0"
      </pre>
      * @param {String}   A format string consisting of one or more format spcifiers [Optional].
      * @return {String}  A string representation of the current Date object.
      */
-    $P.$format = function (format) { 
-        var x = this, 
+    $P.$format = function (format) {
+        var x = this,
             y,
             t = function (v) {
                 $f.push(v);
                 return x.toString(v);
             };
 
-        return format ? format.replace(/(%|\\)?.|%%/g, 
+        return format ? format.replace(/(%|\\)?.|%%/g,
         function (m) {
             if (m.charAt(0) === "\\" || m.substring(0, 2) === "%%") {
                 return m.replace("\\", "").replace("%%", "%");
             case "%U":
                 var d1 = x.clone().set({month: 0, day: 1}).addDays(-1).moveToDayOfWeek(0),
                     d2 = x.clone().addDays(1).moveToDayOfWeek(0, -1);
-                return (d2 < d1) ? "00" : p((d2.getOrdinalNumber() - d1.getOrdinalNumber()) / 7 + 1);                
+                return (d2 < d1) ? "00" : p((d2.getOrdinalNumber() - d1.getOrdinalNumber()) / 7 + 1);
             case "W":
             case "%V":
                 return x.getISOWeek();
             case "e":
             case "T":
             case "%z":
-            case "%Z":            
+            case "%Z":
                 return x.getTimezone();
             case "Z":
                 return x.getTimezoneOffset() * -60;
             case "%t":
                 return "\\t";
             case "%r":
-                return t("hh:mm tt");                
+                return t("hh:mm tt");
             case "%R":
                 return t("H:mm");
             case "%T":
         }
         ) : this._toString();
     };
-    
+
     if (!$P.format) {
         $P.format = $P.$format;
     }
-}());    
\ No newline at end of file
+}());
index 03941d6..e5a84e0 100644 (file)
@@ -3,13 +3,13 @@ Date.CultureInfo = {
     name: "fa-IR",
     englishName: "Persian (Iran)",
     nativeName: "فارسى (ايران)",
-    
+
     /* Day Name Strings */
     dayNames: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
     abbreviatedDayNames: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
     shortestDayNames: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
     firstLetterDayNames: ["S", "M", "T", "W", "T", "F", "S"],
-    
+
     /* Month Name Strings */
     monthNames: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],
     abbreviatedMonthNames: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
@@ -20,15 +20,15 @@ Date.CultureInfo = {
 
     firstDayOfWeek: 0,
     twoDigitYearMax: 2029,
-    
+
     /**
-     * The dateElementOrder is based on the order of the 
-     * format specifiers in the formatPatterns.DatePattern. 
+     * The dateElementOrder is based on the order of the
+     * format specifiers in the formatPatterns.DatePattern.
      *
      * Example:
      <pre>
      shortDatePattern    dateElementOrder
-     ------------------  ---------------- 
+     ------------------  ----------------
      "M/d/yyyy"          "mdy"
      "dd/MM/yyyy"        "dmy"
      "yyyy-MM-dd"        "ymd"
@@ -39,7 +39,7 @@ Date.CultureInfo = {
      * string being parsed.
      */
     dateElementOrder: "mdy",
-    
+
     /* Standard date and time format patterns */
     formatPatterns: {
         shortDate: "M/d/yyyy",
@@ -56,31 +56,31 @@ Date.CultureInfo = {
 
     /**
      * NOTE: If a string format is not parsing correctly, but
-     * you would expect it parse, the problem likely lies below. 
-     * 
+     * you would expect it parse, the problem likely lies below.
+     *
      * The following regex patterns control most of the string matching
      * within the parser.
-     * 
+     *
      * The Month name and Day name patterns were automatically generated
-     * and in general should be (mostly) correct. 
+     * and in general should be (mostly) correct.
      *
      * Beyond the month and day name patterns are natural language strings.
      * Example: "next", "today", "months"
      *
-     * These natural language string may NOT be correct for this culture. 
+     * These natural language string may NOT be correct for this culture.
      * If they are not correct, please translate and edit this file
-     * providing the correct regular expression pattern. 
+     * providing the correct regular expression pattern.
      *
      * If you modify this file, please post your revised CultureInfo file
      * to the Datejs Forum located at http://www.datejs.com/forums/.
      *
      * Please mark the subject of the post with [CultureInfo]. Example:
      *    Subject: [CultureInfo] Translated "da-DK" Danish(Denmark)
-     * 
+     *
      * We will add the modified patterns to the master source files.
      *
-     * As well, please review the list of "Future Strings" section below. 
-     */        
+     * As well, please review the list of "Future Strings" section below.
+     */
     regexPatterns: {
         jan: /^jan(uary)?/i,
         feb: /^feb(ruary)?/i,
@@ -107,12 +107,12 @@ Date.CultureInfo = {
         past: /^last|past|prev(ious)?/i,
         add: /^(\+|aft(er)?|from|hence)/i,
         subtract: /^(\-|bef(ore)?|ago)/i,
-        
+
         yesterday: /^yes(terday)?/i,
         today: /^t(od(ay)?)?/i,
         tomorrow: /^tom(orrow)?/i,
         now: /^n(ow)?/i,
-        
+
         millisecond: /^ms|milli(second)?s?/i,
         second: /^sec(ond)?s?/i,
         minute: /^mn|min(ute)?s?/i,
@@ -121,7 +121,7 @@ Date.CultureInfo = {
         month: /^m(onth)?s?/i,
         day: /^d(ay)?s?/i,
         year: /^y(ear)?s?/i,
-               
+
         shortMeridian: /^(a|p)/i,
         longMeridian: /^(a\.?m?\.?|p\.?m?\.?)/i,
         timezone: /^((e(s|d)t|c(s|d)t|m(s|d)t|p(s|d)t)|((gmt)?\s*(\+|\-)\s*\d\d\d\d?)|gmt|utc)/i,
@@ -135,12 +135,12 @@ Date.CultureInfo = {
 /********************
  ** Future Strings **
  ********************
- * 
- * The following list of strings may not be currently being used, but 
- * may be incorporated into the Datejs library later. 
+ *
+ * The following list of strings may not be currently being used, but
+ * may be incorporated into the Datejs library later.
  *
  * We would appreciate any help translating the strings below.
- * 
+ *
  * If you modify this file, please post your revised CultureInfo file
  * to the Datejs Forum located at http://www.datejs.com/forums/.
  *
@@ -192,4 +192,4 @@ Date.CultureInfo = {
  * end                 end
  * long                long
  * short               short
- */
\ No newline at end of file
+ */
index 21febcc..ee70c5e 100644 (file)
@@ -3,13 +3,13 @@ Date.CultureInfo = {
     name: "fi-FI",
     englishName: "Finnish (Finland)",
     nativeName: "suomi (Suomi)",
-    
+
     /* Day Name Strings */
     dayNames: ["sunnuntai", "maanantai", "tiistai", "keskiviikko", "torstai", "perjantai", "lauantai"],
     abbreviatedDayNames: ["su", "ma", "ti", "ke", "to", "pe", "la"],
     shortestDayNames: ["su", "ma", "ti", "ke", "to", "pe", "la"],
     firstLetterDayNames: ["s", "m", "t", "k", "t", "p", "l"],
-    
+
     /* Month Name Strings */
     monthNames: ["tammikuu", "helmikuu", "maaliskuu", "huhtikuu", "toukokuu", "kesäkuu", "heinäkuu", "elokuu", "syyskuu", "lokakuu", "marraskuu", "joulukuu"],
     abbreviatedMonthNames: ["tammi", "helmi", "maalis", "huhti", "touko", "kesä", "heinä", "elo", "syys", "loka", "marras", "joulu"],
@@ -20,15 +20,15 @@ Date.CultureInfo = {
 
     firstDayOfWeek: 1,
     twoDigitYearMax: 2029,
-    
+
     /**
-     * The dateElementOrder is based on the order of the 
-     * format specifiers in the formatPatterns.DatePattern. 
+     * The dateElementOrder is based on the order of the
+     * format specifiers in the formatPatterns.DatePattern.
      *
      * Example:
      <pre>
      shortDatePattern    dateElementOrder
-     ------------------  ---------------- 
+     ------------------  ----------------
      "M/d/yyyy"          "mdy"
      "dd/MM/yyyy"        "dmy"
      "yyyy-MM-dd"        "ymd"
@@ -39,7 +39,7 @@ Date.CultureInfo = {
      * string being parsed.
      */
     dateElementOrder: "dmy",
-    
+
     /* Standard date and time format patterns */
     formatPatterns: {
         shortDate: "d.M.yyyy",
@@ -56,31 +56,31 @@ Date.CultureInfo = {
 
     /**
      * NOTE: If a string format is not parsing correctly, but
-     * you would expect it parse, the problem likely lies below. 
-     * 
+     * you would expect it parse, the problem likely lies below.
+     *
      * The following regex patterns control most of the string matching
      * within the parser.
-     * 
+     *
      * The Month name and Day name patterns were automatically generated
-     * and in general should be (mostly) correct. 
+     * and in general should be (mostly) correct.
      *
      * Beyond the month and day name patterns are natural language strings.
      * Example: "next", "today", "months"
      *
-     * These natural language string may NOT be correct for this culture. 
+     * These natural language string may NOT be correct for this culture.
      * If they are not correct, please translate and edit this file
-     * providing the correct regular expression pattern. 
+     * providing the correct regular expression pattern.
      *
      * If you modify this file, please post your revised CultureInfo file
      * to the Datejs Forum located at http://www.datejs.com/forums/.
      *
      * Please mark the subject of the post with [CultureInfo]. Example:
      *    Subject: [CultureInfo] Translated "da-DK" Danish(Denmark)
-     * 
+     *
      * We will add the modified patterns to the master source files.
      *
-     * As well, please review the list of "Future Strings" section below. 
-     */        
+     * As well, please review the list of "Future Strings" section below.
+     */
     regexPatterns: {
         jan: /^tammi(kuu)?/i,
         feb: /^helmi(kuu)?/i,
@@ -107,12 +107,12 @@ Date.CultureInfo = {
         past: /^last|past|prev(ious)?/i,
         add: /^(\+|aft(er)?|from|hence)/i,
         subtract: /^(\-|bef(ore)?|ago)/i,
-        
+
         yesterday: /^yes(terday)?/i,
         today: /^t(od(ay)?)?/i,
         tomorrow: /^tom(orrow)?/i,
         now: /^n(ow)?/i,
-        
+
         millisecond: /^ms|milli(second)?s?/i,
         second: /^sec(ond)?s?/i,
         minute: /^mn|min(ute)?s?/i,
@@ -121,7 +121,7 @@ Date.CultureInfo = {
         month: /^m(onth)?s?/i,
         day: /^d(ay)?s?/i,
         year: /^y(ear)?s?/i,
-               
+
         shortMeridian: /^(a|p)/i,
         longMeridian: /^(a\.?m?\.?|p\.?m?\.?)/i,
         timezone: /^((e(s|d)t|c(s|d)t|m(s|d)t|p(s|d)t)|((gmt)?\s*(\+|\-)\s*\d\d\d\d?)|gmt|utc)/i,
@@ -135,12 +135,12 @@ Date.CultureInfo = {
 /********************
  ** Future Strings **
  ********************
- * 
- * The following list of strings may not be currently being used, but 
- * may be incorporated into the Datejs library later. 
+ *
+ * The following list of strings may not be currently being used, but
+ * may be incorporated into the Datejs library later.
  *
  * We would appreciate any help translating the strings below.
- * 
+ *
  * If you modify this file, please post your revised CultureInfo file
  * to the Datejs Forum located at http://www.datejs.com/forums/.
  *
@@ -192,4 +192,4 @@ Date.CultureInfo = {
  * end                 end
  * long                long
  * short               short
- */
\ No newline at end of file
+ */
index 50efe1e..e06f548 100644 (file)
@@ -3,13 +3,13 @@ Date.CultureInfo = {
     name: "fr-FR",
     englishName: "French (France)",
     nativeName: "français (France)",
-    
+
     /* Day Name Strings */
     dayNames: ["dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi"],
     abbreviatedDayNames: ["dim.", "lun.", "mar.", "mer.", "jeu.", "ven.", "sam."],
     shortestDayNames: ["di", "lu", "ma", "me", "je", "ve", "sa"],
     firstLetterDayNames: ["d", "l", "m", "m", "j", "v", "s"],
-    
+
     /* Month Name Strings */
     monthNames: ["janvier", "février", "mars", "avril", "mai", "juin", "juillet", "août", "septembre", "octobre", "novembre", "décembre"],
     abbreviatedMonthNames: ["janv.", "févr.", "mars", "avr.", "mai", "juin", "juil.", "août", "sept.", "oct.", "nov.", "déc."],
@@ -20,15 +20,15 @@ Date.CultureInfo = {
 
     firstDayOfWeek: 1,
     twoDigitYearMax: 2029,
-    
+
     /**
-     * The dateElementOrder is based on the order of the 
-     * format specifiers in the formatPatterns.DatePattern. 
+     * The dateElementOrder is based on the order of the
+     * format specifiers in the formatPatterns.DatePattern.
      *
      * Example:
      <pre>
      shortDatePattern    dateElementOrder
-     ------------------  ---------------- 
+     ------------------  ----------------
      "M/d/yyyy"          "mdy"
      "dd/MM/yyyy"        "dmy"
      "yyyy-MM-dd"        "ymd"
@@ -39,7 +39,7 @@ Date.CultureInfo = {
      * string being parsed.
      */
     dateElementOrder: "dmy",
-    
+
     /* Standard date and time format patterns */
     formatPatterns: {
         shortDate: "dd/MM/yyyy",
@@ -56,31 +56,31 @@ Date.CultureInfo = {
 
     /**
      * NOTE: If a string format is not parsing correctly, but
-     * you would expect it parse, the problem likely lies below. 
-     * 
+     * you would expect it parse, the problem likely lies below.
+     *
      * The following regex patterns control most of the string matching
      * within the parser.
-     * 
+     *
      * The Month name and Day name patterns were automatically generated
-     * and in general should be (mostly) correct. 
+     * and in general should be (mostly) correct.
      *
      * Beyond the month and day name patterns are natural language strings.
      * Example: "next", "today", "months"
      *
-     * These natural language string may NOT be correct for this culture. 
+     * These natural language string may NOT be correct for this culture.
      * If they are not correct, please translate and edit this file
-     * providing the correct regular expression pattern. 
+     * providing the correct regular expression pattern.
      *
      * If you modify this file, please post your revised CultureInfo file
      * to the Datejs Forum located at http://www.datejs.com/forums/.
      *
      * Please mark the subject of the post with [CultureInfo]. Example:
      *    Subject: [CultureInfo] Translated "da-DK" Danish(Denmark)
-     * 
+     *
      * We will add the modified patterns to the master source files.
      *
-     * As well, please review the list of "Future Strings" section below. 
-     */        
+     * As well, please review the list of "Future Strings" section below.
+     */
     regexPatterns: {
         jan: /^janv(.(ier)?)?/i,
         feb: /^févr(.(ier)?)?/i,
@@ -107,12 +107,12 @@ Date.CultureInfo = {
         past: /^last|past|prev(ious)?/i,
         add: /^(\+|aft(er)?|from|hence)/i,
         subtract: /^(\-|bef(ore)?|ago)/i,
-        
+
         yesterday: /^yes(terday)?/i,
         today: /^t(od(ay)?)?/i,
         tomorrow: /^tom(orrow)?/i,
         now: /^n(ow)?/i,
-        
+
         millisecond: /^ms|milli(second)?s?/i,
         second: /^sec(ond)?s?/i,
         minute: /^mn|min(ute)?s?/i,
@@ -121,7 +121,7 @@ Date.CultureInfo = {
         month: /^m(onth)?s?/i,
         day: /^d(ay)?s?/i,
         year: /^y(ear)?s?/i,
-               
+
         shortMeridian: /^(a|p)/i,
         longMeridian: /^(a\.?m?\.?|p\.?m?\.?)/i,
         timezone: /^((e(s|d)t|c(s|d)t|m(s|d)t|p(s|d)t)|((gmt)?\s*(\+|\-)\s*\d\d\d\d?)|gmt|utc)/i,
@@ -135,12 +135,12 @@ Date.CultureInfo = {
 /********************
  ** Future Strings **
  ********************
- * 
- * The following list of strings may not be currently being used, but 
- * may be incorporated into the Datejs library later. 
+ *
+ * The following list of strings may not be currently being used, but
+ * may be incorporated into the Datejs library later.
  *
  * We would appreciate any help translating the strings below.
- * 
+ *
  * If you modify this file, please post your revised CultureInfo file
  * to the Datejs Forum located at http://www.datejs.com/forums/.
  *
@@ -192,4 +192,4 @@ Date.CultureInfo = {
  * end                 end
  * long                long
  * short               short
- */
\ No newline at end of file
+ */
index edadc90..b256fb6 100644 (file)
@@ -3,13 +3,13 @@ Date.CultureInfo = {
     name: "gl-ES",
     englishName: "Galician (Galician)",
     nativeName: "galego (galego)",
-    
+
     /* Day Name Strings */
     dayNames: ["domingo", "luns", "martes", "mércores", "xoves", "venres", "sábado"],
     abbreviatedDayNames: ["dom", "luns", "mar", "mér", "xov", "ven", "sab"],
     shortestDayNames: ["do", "lu", "ma", "mé", "xo", "ve", "sa"],
     firstLetterDayNames: ["d", "l", "m", "m", "x", "v", "s"],
-    
+
     /* Month Name Strings */
     monthNames: ["xaneiro", "febreiro", "marzo", "abril", "maio", "xuño", "xullo", "agosto", "setembro", "outubro", "novembro", "decembro"],
     abbreviatedMonthNames: ["xan", "feb", "mar", "abr", "maio", "xuñ", "xull", "ago", "set", "out", "nov", "dec"],
@@ -20,15 +20,15 @@ Date.CultureInfo = {
 
     firstDayOfWeek: 1,
     twoDigitYearMax: 2029,
-    
+
     /**
-     * The dateElementOrder is based on the order of the 
-     * format specifiers in the formatPatterns.DatePattern. 
+     * The dateElementOrder is based on the order of the
+     * format specifiers in the formatPatterns.DatePattern.
      *
      * Example:
      <pre>
      shortDatePattern    dateElementOrder
-     ------------------  ---------------- 
+     ------------------  ----------------
      "M/d/yyyy"          "mdy"
      "dd/MM/yyyy"        "dmy"
      "yyyy-MM-dd"        "ymd"
@@ -39,7 +39,7 @@ Date.CultureInfo = {
      * string being parsed.
      */
     dateElementOrder: "dmy",
-    
+
     /* Standard date and time format patterns */
     formatPatterns: {
         shortDate: "dd/MM/yy",
@@ -56,31 +56,31 @@ Date.CultureInfo = {
 
     /**
      * NOTE: If a string format is not parsing correctly, but
-     * you would expect it parse, the problem likely lies below. 
-     * 
+     * you would expect it parse, the problem likely lies below.
+     *
      * The following regex patterns control most of the string matching
      * within the parser.
-     * 
+     *
      * The Month name and Day name patterns were automatically generated
-     * and in general should be (mostly) correct. 
+     * and in general should be (mostly) correct.
      *
      * Beyond the month and day name patterns are natural language strings.
      * Example: "next", "today", "months"
      *
-     * These natural language string may NOT be correct for this culture. 
+     * These natural language string may NOT be correct for this culture.
      * If they are not correct, please translate and edit this file
-     * providing the correct regular expression pattern. 
+     * providing the correct regular expression pattern.
      *
      * If you modify this file, please post your revised CultureInfo file
      * to the Datejs Forum located at http://www.datejs.com/forums/.
      *
      * Please mark the subject of the post with [CultureInfo]. Example:
      *    Subject: [CultureInfo] Translated "da-DK" Danish(Denmark)
-     * 
+     *
      * We will add the modified patterns to the master source files.
      *
-     * As well, please review the list of "Future Strings" section below. 
-     */        
+     * As well, please review the list of "Future Strings" section below.
+     */
     regexPatterns: {
         jan: /^xan(eiro)?/i,
         feb: /^feb(reiro)?/i,
@@ -107,12 +107,12 @@ Date.CultureInfo = {
         past: /^last|past|prev(ious)?/i,
         add: /^(\+|aft(er)?|from|hence)/i,
         subtract: /^(\-|bef(ore)?|ago)/i,
-        
+
         yesterday: /^yes(terday)?/i,
         today: /^t(od(ay)?)?/i,
         tomorrow: /^tom(orrow)?/i,
         now: /^n(ow)?/i,
-        
+
         millisecond: /^ms|milli(second)?s?/i,
         second: /^sec(ond)?s?/i,
         minute: /^mn|min(ute)?s?/i,
@@ -121,7 +121,7 @@ Date.CultureInfo = {
         month: /^m(onth)?s?/i,
         day: /^d(ay)?s?/i,
         year: /^y(ear)?s?/i,
-               
+
         shortMeridian: /^(a|p)/i,
         longMeridian: /^(a\.?m?\.?|p\.?m?\.?)/i,
         timezone: /^((e(s|d)t|c(s|d)t|m(s|d)t|p(s|d)t)|((gmt)?\s*(\+|\-)\s*\d\d\d\d?)|gmt|utc)/i,
@@ -135,12 +135,12 @@ Date.CultureInfo = {
 /********************
  ** Future Strings **
  ********************
- * 
- * The following list of strings may not be currently being used, but 
- * may be incorporated into the Datejs library later. 
+ *
+ * The following list of strings may not be currently being used, but
+ * may be incorporated into the Datejs library later.
  *
  * We would appreciate any help translating the strings below.
- * 
+ *
  * If you modify this file, please post your revised CultureInfo file
  * to the Datejs Forum located at http://www.datejs.com/forums/.
  *
@@ -192,4 +192,4 @@ Date.CultureInfo = {
  * end                 end
  * long                long
  * short               short
- */
\ No newline at end of file
+ */
index 07ebb4c..d9a79f3 100644 (file)
@@ -3,13 +3,13 @@ Date.CultureInfo = {
     name: "he-IL",
     englishName: "Hebrew (Israel)",
     nativeName: "עברית (ישראל)",
-    
+
     /* Day Name Strings */
     dayNames: ["יום ראשון", "יום שני", "יום שלישי", "יום רביעי", "יום חמישי", "יום שישי", "שבת"],
     abbreviatedDayNames: ["יום א", "יום ב", "יום ג", "יום ד", "יום ה", "יום ו", "שבת"],
     shortestDayNames: ["א", "ב", "ג", "ד", "ה", "ו", "ש"],
     firstLetterDayNames: ["א", "ב", "ג", "ד", "ה", "ו", "ש"],
-    
+
     /* Month Name Strings */
     monthNames: ["ינואר", "פברואר", "מרץ", "אפריל", "מאי", "יוני", "יולי", "אוגוסט", "ספטמבר", "אוקטובר", "נובמבר", "דצמבר"],
     abbreviatedMonthNames: ["ינו", "פבר", "מרץ", "אפר", "מאי", "יונ", "יול", "אוג", "ספט", "אוק", "נוב", "דצמ"],
@@ -20,15 +20,15 @@ Date.CultureInfo = {
 
     firstDayOfWeek: 0,
     twoDigitYearMax: 2029,
-    
+
     /**
-     * The dateElementOrder is based on the order of the 
-     * format specifiers in the formatPatterns.DatePattern. 
+     * The dateElementOrder is based on the order of the
+     * format specifiers in the formatPatterns.DatePattern.
      *
      * Example:
      <pre>
      shortDatePattern    dateElementOrder
-     ------------------  ---------------- 
+     ------------------  ----------------
      "M/d/yyyy"          "mdy"
      "dd/MM/yyyy"        "dmy"
      "yyyy-MM-dd"        "ymd"
@@ -39,7 +39,7 @@ Date.CultureInfo = {
      * string being parsed.
      */
     dateElementOrder: "dmy",
-    
+
     /* Standard date and time format patterns */
     formatPatterns: {
         shortDate: "dd/MM/yyyy",
@@ -56,31 +56,31 @@ Date.CultureInfo = {
 
     /**
      * NOTE: If a string format is not parsing correctly, but
-     * you would expect it parse, the problem likely lies below. 
-     * 
+     * you would expect it parse, the problem likely lies below.
+     *
      * The following regex patterns control most of the string matching
      * within the parser.
-     * 
+     *
      * The Month name and Day name patterns were automatically generated
-     * and in general should be (mostly) correct. 
+     * and in general should be (mostly) correct.
      *
      * Beyond the month and day name patterns are natural language strings.
      * Example: "next", "today", "months"
      *
-     * These natural language string may NOT be correct for this culture. 
+     * These natural language string may NOT be correct for this culture.
      * If they are not correct, please translate and edit this file
-     * providing the correct regular expression pattern. 
+     * providing the correct regular expression pattern.
      *
      * If you modify this file, please post your revised CultureInfo file
      * to the Datejs Forum located at http://www.datejs.com/forums/.
      *
      * Please mark the subject of the post with [CultureInfo]. Example:
      *    Subject: [CultureInfo] Translated "da-DK" Danish(Denmark)
-     * 
+     *
      * We will add the modified patterns to the master source files.
      *
-     * As well, please review the list of "Future Strings" section below. 
-     */        
+     * As well, please review the list of "Future Strings" section below.
+     */
     regexPatterns: {
         jan: /^ינו(אר)?/i,
         feb: /^פבר(ואר)?/i,
@@ -107,12 +107,12 @@ Date.CultureInfo = {
         past: /^last|past|prev(ious)?/i,
         add: /^(\+|aft(er)?|from|hence)/i,
         subtract: /^(\-|bef(ore)?|ago)/i,
-        
+
         yesterday: /^yes(terday)?/i,
         today: /^t(od(ay)?)?/i,
         tomorrow: /^tom(orrow)?/i,
         now: /^n(ow)?/i,
-        
+
         millisecond: /^ms|milli(second)?s?/i,
         second: /^sec(ond)?s?/i,
         minute: /^mn|min(ute)?s?/i,
@@ -121,7 +121,7 @@ Date.CultureInfo = {
         month: /^m(onth)?s?/i,
         day: /^d(ay)?s?/i,
         year: /^y(ear)?s?/i,
-               
+
         shortMeridian: /^(a|p)/i,
         longMeridian: /^(a\.?m?\.?|p\.?m?\.?)/i,
         timezone: /^((e(s|d)t|c(s|d)t|m(s|d)t|p(s|d)t)|((gmt)?\s*(\+|\-)\s*\d\d\d\d?)|gmt|utc)/i,
@@ -135,12 +135,12 @@ Date.CultureInfo = {
 /********************
  ** Future Strings **
  ********************
- * 
- * The following list of strings may not be currently being used, but 
- * may be incorporated into the Datejs library later. 
+ *
+ * The following list of strings may not be currently being used, but
+ * may be incorporated into the Datejs library later.
  *
  * We would appreciate any help translating the strings below.
- * 
+ *
  * If you modify this file, please post your revised CultureInfo file
  * to the Datejs Forum located at http://www.datejs.com/forums/.
  *
@@ -192,4 +192,4 @@ Date.CultureInfo = {
  * end                 end
  * long                long
  * short               short
- */
\ No newline at end of file
+ */
index c651818..4dddbbf 100644 (file)
@@ -3,13 +3,13 @@ Date.CultureInfo = {
     name: "hu-HU",
     englishName: "Hungarian (Hungary)",
     nativeName: "magyar (Magyarország)",
-    
+
     /* Day Name Strings */
     dayNames: ["vasárnap", "hétfő", "kedd", "szerda", "csütörtök", "péntek", "szombat"],
     abbreviatedDayNames: ["V", "H", "K", "Sze", "Cs", "P", "Szo"],
     shortestDayNames: ["V", "H", "K", "Sze", "Cs", "P", "Szo"],
     firstLetterDayNames: ["V", "H", "K", "S", "C", "P", "S"],
-    
+
     /* Month Name Strings */
     monthNames: ["január", "február", "március", "április", "május", "június", "július", "augusztus", "szeptember", "október", "november", "december"],
     abbreviatedMonthNames: ["jan.", "febr.", "márc.", "ápr.", "máj.", "jún.", "júl.", "aug.", "szept.", "okt.", "nov.", "dec."],
@@ -20,15 +20,15 @@ Date.CultureInfo = {
 
     firstDayOfWeek: 1,
     twoDigitYearMax: 2029,
-    
+
     /**
-     * The dateElementOrder is based on the order of the 
-     * format specifiers in the formatPatterns.DatePattern. 
+     * The dateElementOrder is based on the order of the
+     * format specifiers in the formatPatterns.DatePattern.
      *
      * Example:
      <pre>
      shortDatePattern    dateElementOrder
-     ------------------  ---------------- 
+     ------------------  ----------------
      "M/d/yyyy"          "mdy"
      "dd/MM/yyyy"        "dmy"
      "yyyy-MM-dd"        "ymd"
@@ -39,7 +39,7 @@ Date.CultureInfo = {
      * string being parsed.
      */
     dateElementOrder: "ymd",
-    
+
     /* Standard date and time format patterns */
     formatPatterns: {
         shortDate: "yyyy. MM. dd.",
@@ -56,31 +56,31 @@ Date.CultureInfo = {
 
     /**
      * NOTE: If a string format is not parsing correctly, but
-     * you would expect it parse, the problem likely lies below. 
-     * 
+     * you would expect it parse, the problem likely lies below.
+     *
      * The following regex patterns control most of the string matching
      * within the parser.
-     * 
+     *
      * The Month name and Day name patterns were automatically generated
-     * and in general should be (mostly) correct. 
+     * and in general should be (mostly) correct.
      *
      * Beyond the month and day name patterns are natural language strings.
      * Example: "next", "today", "months"
      *
-     * These natural language string may NOT be correct for this culture. 
+     * These natural language string may NOT be correct for this culture.
      * If they are not correct, please translate and edit this file
-     * providing the correct regular expression pattern. 
+     * providing the correct regular expression pattern.
      *
      * If you modify this file, please post your revised CultureInfo file
      * to the Datejs Forum located at http://www.datejs.com/forums/.
      *
      * Please mark the subject of the post with [CultureInfo]. Example:
      *    Subject: [CultureInfo] Translated "da-DK" Danish(Denmark)
-     * 
+     *
      * We will add the modified patterns to the master source files.
      *
-     * As well, please review the list of "Future Strings" section below. 
-     */        
+     * As well, please review the list of "Future Strings" section below.
+     */
     regexPatterns: {
         jan: /^jan(.(uár)?)?/i,
         feb: /^febr(.(uár)?)?/i,
@@ -107,12 +107,12 @@ Date.CultureInfo = {
         past: /^last|past|prev(ious)?/i,
         add: /^(\+|aft(er)?|from|hence)/i,
         subtract: /^(\-|bef(ore)?|ago)/i,
-        
+
         yesterday: /^yes(terday)?/i,
         today: /^t(od(ay)?)?/i,
         tomorrow: /^tom(orrow)?/i,
         now: /^n(ow)?/i,
-        
+
         millisecond: /^ms|milli(second)?s?/i,
         second: /^sec(ond)?s?/i,
         minute: /^mn|min(ute)?s?/i,
@@ -121,7 +121,7 @@ Date.CultureInfo = {
         month: /^m(onth)?s?/i,
         day: /^d(ay)?s?/i,
         year: /^y(ear)?s?/i,
-               
+
         shortMeridian: /^(a|p)/i,
         longMeridian: /^(a\.?m?\.?|p\.?m?\.?)/i,
         timezone: /^((e(s|d)t|c(s|d)t|m(s|d)t|p(s|d)t)|((gmt)?\s*(\+|\-)\s*\d\d\d\d?)|gmt|utc)/i,
@@ -135,12 +135,12 @@ Date.CultureInfo = {
 /********************
  ** Future Strings **
  ********************
- * 
- * The following list of strings may not be currently being used, but 
- * may be incorporated into the Datejs library later. 
+ *
+ * The following list of strings may not be currently being used, but
+ * may be incorporated into the Datejs library later.
  *
  * We would appreciate any help translating the strings below.
- * 
+ *
  * If you modify this file, please post your revised CultureInfo file
  * to the Datejs Forum located at http://www.datejs.com/forums/.
  *
@@ -192,4 +192,4 @@ Date.CultureInfo = {
  * end                 end
  * long                long
  * short               short
- */
\ No newline at end of file
+ */
index 082e9c9..60816b2 100644 (file)
@@ -3,13 +3,13 @@ Date.CultureInfo = {
     name: "id-ID",
     englishName: "Indonesian (Indonesia)",
     nativeName: "Bahasa Indonesia (Indonesia)",
-    
+
     /* Day Name Strings */
     dayNames: ["Minggu", "Senin", "Selasa", "Rabu", "Kamis", "Jumat", "Sabtu"],
     abbreviatedDayNames: ["Minggu", "Sen", "Sel", "Rabu", "Kamis", "Jumat", "Sabtu"],
     shortestDayNames: ["M", "S", "S", "R", "K", "J", "S"],
     firstLetterDayNames: ["M", "S", "S", "R", "K", "J", "S"],
-    
+
     /* Month Name Strings */
     monthNames: ["Januari", "Februari", "Maret", "April", "Mei", "Juni", "Juli", "Agustus", "September", "Oktober", "Nopember", "Desember"],
     abbreviatedMonthNames: ["Jan", "Feb", "Mar", "Apr", "Mei", "Jun", "Jul", "Agust", "Sep", "Okt", "Nop", "Des"],
@@ -20,15 +20,15 @@ Date.CultureInfo = {
 
     firstDayOfWeek: 1,
     twoDigitYearMax: 2029,
-    
+
     /**
-     * The dateElementOrder is based on the order of the 
-     * format specifiers in the formatPatterns.DatePattern. 
+     * The dateElementOrder is based on the order of the
+     * format specifiers in the formatPatterns.DatePattern.
      *
      * Example:
      <pre>
      shortDatePattern    dateElementOrder
-     ------------------  ---------------- 
+     ------------------  ----------------
      "M/d/yyyy"          "mdy"
      "dd/MM/yyyy"        "dmy"
      "yyyy-MM-dd"        "ymd"
@@ -39,7 +39,7 @@ Date.CultureInfo = {
      * string being parsed.
      */
     dateElementOrder: "dmy",
-    
+
     /* Standard date and time format patterns */
     formatPatterns: {
         shortDate: "dd/MM/yyyy",
@@ -56,31 +56,31 @@ Date.CultureInfo = {
 
     /**
      * NOTE: If a string format is not parsing correctly, but
-     * you would expect it parse, the problem likely lies below. 
-     * 
+     * you would expect it parse, the problem likely lies below.
+     *
      * The following regex patterns control most of the string matching
      * within the parser.
-     * 
+     *
      * The Month name and Day name patterns were automatically generated
-     * and in general should be (mostly) correct. 
+     * and in general should be (mostly) correct.
      *
      * Beyond the month and day name patterns are natural language strings.
      * Example: "next", "today", "months"
      *
-     * These natural language string may NOT be correct for this culture. 
+     * These natural language string may NOT be correct for this culture.
      * If they are not correct, please translate and edit this file
-     * providing the correct regular expression pattern. 
+     * providing the correct regular expression pattern.
      *
      * If you modify this file, please post your revised CultureInfo file
      * to the Datejs Forum located at http://www.datejs.com/forums/.
      *
      * Please mark the subject of the post with [CultureInfo]. Example:
      *    Subject: [CultureInfo] Translated "da-DK" Danish(Denmark)
-     * 
+     *
      * We will add the modified patterns to the master source files.
      *
-     * As well, please review the list of "Future Strings" section below. 
-     */        
+     * As well, please review the list of "Future Strings" section below.
+     */
     regexPatterns: {
         jan: /^jan(uari)?/i,
         feb: /^feb(ruari)?/i,
@@ -107,12 +107,12 @@ Date.CultureInfo = {
         past: /^last|past|prev(ious)?/i,
         add: /^(\+|aft(er)?|from|hence)/i,
         subtract: /^(\-|bef(ore)?|ago)/i,
-        
+
         yesterday: /^yes(terday)?/i,
         today: /^t(od(ay)?)?/i,
         tomorrow: /^tom(orrow)?/i,
         now: /^n(ow)?/i,
-        
+
         millisecond: /^ms|milli(second)?s?/i,
         second: /^sec(ond)?s?/i,
         minute: /^mn|min(ute)?s?/i,
@@ -121,7 +121,7 @@ Date.CultureInfo = {
         month: /^m(onth)?s?/i,
         day: /^d(ay)?s?/i,
         year: /^y(ear)?s?/i,
-               
+
         shortMeridian: /^(a|p)/i,
         longMeridian: /^(a\.?m?\.?|p\.?m?\.?)/i,
         timezone: /^((e(s|d)t|c(s|d)t|m(s|d)t|p(s|d)t)|((gmt)?\s*(\+|\-)\s*\d\d\d\d?)|gmt|utc)/i,
@@ -135,12 +135,12 @@ Date.CultureInfo = {
 /********************
  ** Future Strings **
  ********************
- * 
- * The following list of strings may not be currently being used, but 
- * may be incorporated into the Datejs library later. 
+ *
+ * The following list of strings may not be currently being used, but
+ * may be incorporated into the Datejs library later.
  *
  * We would appreciate any help translating the strings below.
- * 
+ *
  * If you modify this file, please post your revised CultureInfo file
  * to the Datejs Forum located at http://www.datejs.com/forums/.
  *
@@ -192,4 +192,4 @@ Date.CultureInfo = {
  * end                 end
  * long                long
  * short               short
- */
\ No newline at end of file
+ */
index 929cad3..78e4d37 100644 (file)
@@ -3,13 +3,13 @@ Date.CultureInfo = {
     name: "is-IS",
     englishName: "Icelandic (Iceland)",
     nativeName: "íslenska (Ísland)",
-    
+
     /* Day Name Strings */
     dayNames: ["sunnudagur", "mánudagur", "þriðjudagur", "miðvikudagur", "fimmtudagur", "föstudagur", "laugardagur"],
     abbreviatedDayNames: ["sun.", "mán.", "þri.", "mið.", "fim.", "fös.", "lau."],
     shortestDayNames: ["su", "má", "þr", "mi", "fi", "fö", "la"],
     firstLetterDayNames: ["s", "m", "þ", "m", "f", "f", "l"],
-    
+
     /* Month Name Strings */
     monthNames: ["janúar", "febrúar", "mars", "apríl", "maí", "júní", "júlí", "ágúst", "september", "október", "nóvember", "desember"],
     abbreviatedMonthNames: ["jan.", "feb.", "mar.", "apr.", "maí", "jún.", "júl.", "ágú.", "sep.", "okt.", "nóv.", "des."],
@@ -20,15 +20,15 @@ Date.CultureInfo = {
 
     firstDayOfWeek: 1,
     twoDigitYearMax: 2029,
-    
+
     /**
-     * The dateElementOrder is based on the order of the 
-     * format specifiers in the formatPatterns.DatePattern. 
+     * The dateElementOrder is based on the order of the
+     * format specifiers in the formatPatterns.DatePattern.
      *
      * Example:
      <pre>
      shortDatePattern    dateElementOrder
-     ------------------  ---------------- 
+     ------------------  ----------------
      "M/d/yyyy"          "mdy"
      "dd/MM/yyyy"        "dmy"
      "yyyy-MM-dd"        "ymd"
@@ -39,7 +39,7 @@ Date.CultureInfo = {
      * string being parsed.
      */
     dateElementOrder: "dmy",
-    
+
     /* Standard date and time format patterns */
     formatPatterns: {
         shortDate: "d.M.yyyy",
@@ -56,31 +56,31 @@ Date.CultureInfo = {
 
     /**
      * NOTE: If a string format is not parsing correctly, but
-     * you would expect it parse, the problem likely lies below. 
-     * 
+     * you would expect it parse, the problem likely lies below.
+     *
      * The following regex patterns control most of the string matching
      * within the parser.
-     * 
+     *
      * The Month name and Day name patterns were automatically generated
-     * and in general should be (mostly) correct. 
+     * and in general should be (mostly) correct.
      *
      * Beyond the month and day name patterns are natural language strings.
      * Example: "next", "today", "months"
      *
-     * These natural language string may NOT be correct for this culture. 
+     * These natural language string may NOT be correct for this culture.
      * If they are not correct, please translate and edit this file
-     * providing the correct regular expression pattern. 
+     * providing the correct regular expression pattern.
      *
      * If you modify this file, please post your revised CultureInfo file
      * to the Datejs Forum located at http://www.datejs.com/forums/.
      *
      * Please mark the subject of the post with [CultureInfo]. Example:
      *    Subject: [CultureInfo] Translated "da-DK" Danish(Denmark)
-     * 
+     *
      * We will add the modified patterns to the master source files.
      *
-     * As well, please review the list of "Future Strings" section below. 
-     */        
+     * As well, please review the list of "Future Strings" section below.
+     */
     regexPatterns: {
         jan: /^jan(.(úar)?)?/i,
         feb: /^feb(.(rúar)?)?/i,
@@ -107,12 +107,12 @@ Date.CultureInfo = {
         past: /^last|past|prev(ious)?/i,
         add: /^(\+|aft(er)?|from|hence)/i,
         subtract: /^(\-|bef(ore)?|ago)/i,
-        
+
         yesterday: /^yes(terday)?/i,
         today: /^t(od(ay)?)?/i,
         tomorrow: /^tom(orrow)?/i,
         now: /^n(ow)?/i,
-        
+
         millisecond: /^ms|milli(second)?s?/i,
         second: /^sec(ond)?s?/i,
         minute: /^mn|min(ute)?s?/i,
@@ -121,7 +121,7 @@ Date.CultureInfo = {
         month: /^m(onth)?s?/i,
         day: /^d(ay)?s?/i,
         year: /^y(ear)?s?/i,
-               
+
         shortMeridian: /^(a|p)/i,
         longMeridian: /^(a\.?m?\.?|p\.?m?\.?)/i,
         timezone: /^((e(s|d)t|c(s|d)t|m(s|d)t|p(s|d)t)|((gmt)?\s*(\+|\-)\s*\d\d\d\d?)|gmt|utc)/i,
@@ -135,12 +135,12 @@ Date.CultureInfo = {
 /********************
  ** Future Strings **
  ********************
- * 
- * The following list of strings may not be currently being used, but 
- * may be incorporated into the Datejs library later. 
+ *
+ * The following list of strings may not be currently being used, but
+ * may be incorporated into the Datejs library later.
  *
  * We would appreciate any help translating the strings below.
- * 
+ *
  * If you modify this file, please post your revised CultureInfo file
  * to the Datejs Forum located at http://www.datejs.com/forums/.
  *
@@ -192,4 +192,4 @@ Date.CultureInfo = {
  * end                 end
  * long                long
  * short               short
- */
\ No newline at end of file
+ */
index 67789e1..14d50ee 100644 (file)
@@ -3,13 +3,13 @@ Date.CultureInfo = {
     name: "it-IT",
     englishName: "Italian (Italy)",
     nativeName: "italiano (Italia)",
-    
+
     /* Day Name Strings */
     dayNames: ["domenica", "lunedì", "martedì", "mercoledì", "giovedì", "venerdì", "sabato"],
     abbreviatedDayNames: ["dom", "lun", "mar", "mer", "gio", "ven", "sab"],
     shortestDayNames: ["do", "lu", "ma", "me", "gi", "ve", "sa"],
     firstLetterDayNames: ["d", "l", "m", "m", "g", "v", "s"],
-    
+
     /* Month Name Strings */
     monthNames: ["gennaio", "febbraio", "marzo", "aprile", "maggio", "giugno", "luglio", "agosto", "settembre", "ottobre", "novembre", "dicembre"],
     abbreviatedMonthNames: ["gen", "feb", "mar", "apr", "mag", "giu", "lug", "ago", "set", "ott", "nov", "dic"],
@@ -20,15 +20,15 @@ Date.CultureInfo = {
 
     firstDayOfWeek: 1,
     twoDigitYearMax: 2029,
-    
+
     /**
-     * The dateElementOrder is based on the order of the 
-     * format specifiers in the formatPatterns.DatePattern. 
+     * The dateElementOrder is based on the order of the
+     * format specifiers in the formatPatterns.DatePattern.
      *
      * Example:
      <pre>
      shortDatePattern    dateElementOrder
-     ------------------  ---------------- 
+     ------------------  ----------------
      "M/d/yyyy"          "mdy"
      "dd/MM/yyyy"        "dmy"
      "yyyy-MM-dd"        "ymd"
@@ -39,7 +39,7 @@ Date.CultureInfo = {
      * string being parsed.
      */
     dateElementOrder: "dmy",
-    
+
     /* Standard date and time format patterns */
     formatPatterns: {
         shortDate: "dd/MM/yyyy",
@@ -56,31 +56,31 @@ Date.CultureInfo = {
 
     /**
      * NOTE: If a string format is not parsing correctly, but
-     * you would expect it parse, the problem likely lies below. 
-     * 
+     * you would expect it parse, the problem likely lies below.
+     *
      * The following regex patterns control most of the string matching
      * within the parser.
-     * 
+     *
      * The Month name and Day name patterns were automatically generated
-     * and in general should be (mostly) correct. 
+     * and in general should be (mostly) correct.
      *
      * Beyond the month and day name patterns are natural language strings.
      * Example: "next", "today", "months"
      *
-     * These natural language string may NOT be correct for this culture. 
+     * These natural language string may NOT be correct for this culture.
      * If they are not correct, please translate and edit this file
-     * providing the correct regular expression pattern. 
+     * providing the correct regular expression pattern.
      *
      * If you modify this file, please post your revised CultureInfo file
      * to the Datejs Forum located at http://www.datejs.com/forums/.
      *
      * Please mark the subject of the post with [CultureInfo]. Example:
      *    Subject: [CultureInfo] Translated "da-DK" Danish(Denmark)
-     * 
+     *
      * We will add the modified patterns to the master source files.
      *
-     * As well, please review the list of "Future Strings" section below. 
-     */        
+     * As well, please review the list of "Future Strings" section below.
+     */
     regexPatterns: {
         jan: /^gen(naio)?/i,
         feb: /^feb(braio)?/i,
@@ -107,12 +107,12 @@ Date.CultureInfo = {
         past: /^last|past|prev(ious)?/i,
         add: /^(\+|aft(er)?|from|hence)/i,
         subtract: /^(\-|bef(ore)?|ago)/i,
-        
+
         yesterday: /^yes(terday)?/i,
         today: /^t(od(ay)?)?/i,
         tomorrow: /^tom(orrow)?/i,
         now: /^n(ow)?/i,
-        
+
         millisecond: /^ms|milli(second)?s?/i,
         second: /^sec(ond)?s?/i,
         minute: /^mn|min(ute)?s?/i,
@@ -121,7 +121,7 @@ Date.CultureInfo = {
         month: /^m(onth)?s?/i,
         day: /^d(ay)?s?/i,
         year: /^y(ear)?s?/i,
-               
+
         shortMeridian: /^(a|p)/i,
         longMeridian: /^(a\.?m?\.?|p\.?m?\.?)/i,
         timezone: /^((e(s|d)t|c(s|d)t|m(s|d)t|p(s|d)t)|((gmt)?\s*(\+|\-)\s*\d\d\d\d?)|gmt|utc)/i,
@@ -135,12 +135,12 @@ Date.CultureInfo = {
 /********************
  ** Future Strings **
  ********************
- * 
- * The following list of strings may not be currently being used, but 
- * may be incorporated into the Datejs library later. 
+ *
+ * The following list of strings may not be currently being used, but
+ * may be incorporated into the Datejs library later.
  *
  * We would appreciate any help translating the strings below.
- * 
+ *
  * If you modify this file, please post your revised CultureInfo file
  * to the Datejs Forum located at http://www.datejs.com/forums/.
  *
@@ -192,4 +192,4 @@ Date.CultureInfo = {
  * end                 end
  * long                long
  * short               short
- */
\ No newline at end of file
+ */
index 9541492..7c853dc 100644 (file)
@@ -3,13 +3,13 @@ Date.CultureInfo = {
     name: "ja-JP",
     englishName: "Japanese (Japan)",
     nativeName: "日本語 (日本)",
-    
+
     /* Day Name Strings */
     dayNames: ["日曜日", "月曜日", "火曜日", "水曜日", "木曜日", "金曜日", "土曜日"],
     abbreviatedDayNames: ["日", "月", "火", "水", "木", "金", "土"],
     shortestDayNames: ["日", "月", "火", "水", "木", "金", "土"],
     firstLetterDayNames: ["日", "月", "火", "水", "木", "金", "土"],
-    
+
     /* Month Name Strings */
     monthNames: ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月"],
     abbreviatedMonthNames: ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"],
@@ -20,15 +20,15 @@ Date.CultureInfo = {
 
     firstDayOfWeek: 0,
     twoDigitYearMax: 2029,
-    
+
     /**
-     * The dateElementOrder is based on the order of the 
-     * format specifiers in the formatPatterns.DatePattern. 
+     * The dateElementOrder is based on the order of the
+     * format specifiers in the formatPatterns.DatePattern.
      *
      * Example:
      <pre>
      shortDatePattern    dateElementOrder
-     ------------------  ---------------- 
+     ------------------  ----------------
      "M/d/yyyy"          "mdy"
      "dd/MM/yyyy"        "dmy"
      "yyyy-MM-dd"        "ymd"
@@ -39,7 +39,7 @@ Date.CultureInfo = {
      * string being parsed.
      */
     dateElementOrder: "ymd",
-    
+
     /* Standard date and time format patterns */
     formatPatterns: {
         shortDate: "yyyy/MM/dd",
@@ -56,31 +56,31 @@ Date.CultureInfo = {
 
     /**
      * NOTE: If a string format is not parsing correctly, but
-     * you would expect it parse, the problem likely lies below. 
-     * 
+     * you would expect it parse, the problem likely lies below.
+     *
      * The following regex patterns control most of the string matching
      * within the parser.
-     * 
+     *
      * The Month name and Day name patterns were automatically generated
-     * and in general should be (mostly) correct. 
+     * and in general should be (mostly) correct.
      *
      * Beyond the month and day name patterns are natural language strings.
      * Example: "next", "today", "months"
      *
-     * These natural language string may NOT be correct for this culture. 
+     * These natural language string may NOT be correct for this culture.
      * If they are not correct, please translate and edit this file
-     * providing the correct regular expression pattern. 
+     * providing the correct regular expression pattern.
      *
      * If you modify this file, please post your revised CultureInfo file
      * to the Datejs Forum located at http://www.datejs.com/forums/.
      *
      * Please mark the subject of the post with [CultureInfo]. Example:
      *    Subject: [CultureInfo] Translated "da-DK" Danish(Denmark)
-     * 
+     *
      * We will add the modified patterns to the master source files.
      *
-     * As well, please review the list of "Future Strings" section below. 
-     */        
+     * As well, please review the list of "Future Strings" section below.
+     */
     regexPatterns: {
         jan: /^1(月)?/i,
         feb: /^2(月)?/i,
@@ -107,12 +107,12 @@ Date.CultureInfo = {
         past: /^last|past|prev(ious)?/i,
         add: /^(\+|aft(er)?|from|hence)/i,
         subtract: /^(\-|bef(ore)?|ago)/i,
-        
+
         yesterday: /^yes(terday)?/i,
         today: /^t(od(ay)?)?/i,
         tomorrow: /^tom(orrow)?/i,
         now: /^n(ow)?/i,
-        
+
         millisecond: /^ms|milli(second)?s?/i,
         second: /^sec(ond)?s?/i,
         minute: /^mn|min(ute)?s?/i,
@@ -121,7 +121,7 @@ Date.CultureInfo = {
         month: /^m(onth)?s?/i,
         day: /^d(ay)?s?/i,
         year: /^y(ear)?s?/i,
-               
+
         shortMeridian: /^(a|p)/i,
         longMeridian: /^(a\.?m?\.?|p\.?m?\.?)/i,
         timezone: /^((e(s|d)t|c(s|d)t|m(s|d)t|p(s|d)t)|((gmt)?\s*(\+|\-)\s*\d\d\d\d?)|gmt|utc)/i,
@@ -135,12 +135,12 @@ Date.CultureInfo = {
 /********************
  ** Future Strings **
  ********************
- * 
- * The following list of strings may not be currently being used, but 
- * may be incorporated into the Datejs library later. 
+ *
+ * The following list of strings may not be currently being used, but
+ * may be incorporated into the Datejs library later.
  *
  * We would appreciate any help translating the strings below.
- * 
+ *
  * If you modify this file, please post your revised CultureInfo file
  * to the Datejs Forum located at http://www.datejs.com/forums/.
  *
@@ -192,4 +192,4 @@ Date.CultureInfo = {
  * end                 end
  * long                long
  * short               short
- */
\ No newline at end of file
+ */
index 24c3d4a..310315b 100644 (file)
@@ -3,13 +3,13 @@ Date.CultureInfo = {
     name: "ko-KR",
     englishName: "Korean (Korea)",
     nativeName: "한국어 (대한민국)",
-    
+
     /* Day Name Strings */
     dayNames: ["일요일", "월요일", "화요일", "수요일", "목요일", "금요일", "토요일"],
     abbreviatedDayNames: ["일", "월", "화", "수", "목", "금", "토"],
     shortestDayNames: ["일", "월", "화", "수", "목", "금", "토"],
     firstLetterDayNames: ["일", "월", "화", "수", "목", "금", "토"],
-    
+
     /* Month Name Strings */
     monthNames: ["1월", "2월", "3월", "4월", "5월", "6월", "7월", "8월", "9월", "10월", "11월", "12월"],
     abbreviatedMonthNames: ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"],
@@ -20,15 +20,15 @@ Date.CultureInfo = {
 
     firstDayOfWeek: 0,
     twoDigitYearMax: 2029,
-    
+
     /**
-     * The dateElementOrder is based on the order of the 
-     * format specifiers in the formatPatterns.DatePattern. 
+     * The dateElementOrder is based on the order of the
+     * format specifiers in the formatPatterns.DatePattern.
      *
      * Example:
      <pre>
      shortDatePattern    dateElementOrder
-     ------------------  ---------------- 
+     ------------------  ----------------
      "M/d/yyyy"          "mdy"
      "dd/MM/yyyy"        "dmy"
      "yyyy-MM-dd"        "ymd"
@@ -39,7 +39,7 @@ Date.CultureInfo = {
      * string being parsed.
      */
     dateElementOrder: "ymd",
-    
+
     /* Standard date and time format patterns */
     formatPatterns: {
         shortDate: "yyyy-MM-dd",
@@ -56,31 +56,31 @@ Date.CultureInfo = {
 
     /**
      * NOTE: If a string format is not parsing correctly, but
-     * you would expect it parse, the problem likely lies below. 
-     * 
+     * you would expect it parse, the problem likely lies below.
+     *
      * The following regex patterns control most of the string matching
      * within the parser.
-     * 
+     *
      * The Month name and Day name patterns were automatically generated
-     * and in general should be (mostly) correct. 
+     * and in general should be (mostly) correct.
      *
      * Beyond the month and day name patterns are natural language strings.
      * Example: "next", "today", "months"
      *
-     * These natural language string may NOT be correct for this culture. 
+     * These natural language string may NOT be correct for this culture.
      * If they are not correct, please translate and edit this file
-     * providing the correct regular expression pattern. 
+     * providing the correct regular expression pattern.
      *
      * If you modify this file, please post your revised CultureInfo file
      * to the Datejs Forum located at http://www.datejs.com/forums/.
      *
      * Please mark the subject of the post with [CultureInfo]. Example:
      *    Subject: [CultureInfo] Translated "da-DK" Danish(Denmark)
-     * 
+     *
      * We will add the modified patterns to the master source files.
      *
-     * As well, please review the list of "Future Strings" section below. 
-     */        
+     * As well, please review the list of "Future Strings" section below.
+     */
     regexPatterns: {
         jan: /^1(월)?/i,
         feb: /^2(월)?/i,
@@ -107,12 +107,12 @@ Date.CultureInfo = {
         past: /^last|past|prev(ious)?/i,
         add: /^(\+|aft(er)?|from|hence)/i,
         subtract: /^(\-|bef(ore)?|ago)/i,
-        
+
         yesterday: /^yes(terday)?/i,
         today: /^t(od(ay)?)?/i,
         tomorrow: /^tom(orrow)?/i,
         now: /^n(ow)?/i,
-        
+
         millisecond: /^ms|milli(second)?s?/i,
         second: /^sec(ond)?s?/i,
         minute: /^mn|min(ute)?s?/i,
@@ -121,7 +121,7 @@ Date.CultureInfo = {
         month: /^m(onth)?s?/i,
         day: /^d(ay)?s?/i,
         year: /^y(ear)?s?/i,
-               
+
         shortMeridian: /^(a|p)/i,
         longMeridian: /^(a\.?m?\.?|p\.?m?\.?)/i,
         timezone: /^((e(s|d)t|c(s|d)t|m(s|d)t|p(s|d)t)|((gmt)?\s*(\+|\-)\s*\d\d\d\d?)|gmt|utc)/i,
@@ -135,12 +135,12 @@ Date.CultureInfo = {
 /********************
  ** Future Strings **
  ********************
- * 
- * The following list of strings may not be currently being used, but 
- * may be incorporated into the Datejs library later. 
+ *
+ * The following list of strings may not be currently being used, but
+ * may be incorporated into the Datejs library later.
  *
  * We would appreciate any help translating the strings below.
- * 
+ *
  * If you modify this file, please post your revised CultureInfo file
  * to the Datejs Forum located at http://www.datejs.com/forums/.
  *
@@ -192,4 +192,4 @@ Date.CultureInfo = {
  * end                 end
  * long                long
  * short               short
- */
\ No newline at end of file
+ */
index 0efcc5b..94a060c 100644 (file)
@@ -3,13 +3,13 @@ Date.CultureInfo = {
     name: "lt-LT",
     englishName: "Lithuanian (Lithuania)",
     nativeName: "lietuvių (Lietuva)",
-    
+
     /* Day Name Strings */
     dayNames: ["sekmadienis", "pirmadienis", "antradienis", "trečiadienis", "ketvirtadienis", "penktadienis", "šeštadienis"],
     abbreviatedDayNames: ["Sk", "Pr", "An", "Tr", "Kt", "Pn", "Št"],
     shortestDayNames: ["S", "P", "A", "T", "K", "Pn", "Š"],
     firstLetterDayNames: ["S", "P", "A", "T", "K", "P", "Š"],
-    
+
     /* Month Name Strings */
     monthNames: ["sausis", "vasaris", "kovas", "balandis", "gegužė", "birželis", "liepa", "rugpjūtis", "rugsėjis", "spalis", "lapkritis", "gruodis"],
     abbreviatedMonthNames: ["Sau", "Vas", "Kov", "Bal", "Geg", "Bir", "Lie", "Rgp", "Rgs", "Spl", "Lap", "Grd"],
@@ -20,15 +20,15 @@ Date.CultureInfo = {
 
     firstDayOfWeek: 1,
     twoDigitYearMax: 2029,
-    
+
     /**
-     * The dateElementOrder is based on the order of the 
-     * format specifiers in the formatPatterns.DatePattern. 
+     * The dateElementOrder is based on the order of the
+     * format specifiers in the formatPatterns.DatePattern.
      *
      * Example:
      <pre>
      shortDatePattern    dateElementOrder
-     ------------------  ---------------- 
+     ------------------  ----------------
      "M/d/yyyy"          "mdy"
      "dd/MM/yyyy"        "dmy"
      "yyyy-MM-dd"        "ymd"
@@ -39,7 +39,7 @@ Date.CultureInfo = {
      * string being parsed.
      */
     dateElementOrder: "ymd",
-    
+
     /* Standard date and time format patterns */
     formatPatterns: {
         shortDate: "yyyy.MM.dd",
@@ -56,31 +56,31 @@ Date.CultureInfo = {
 
     /**
      * NOTE: If a string format is not parsing correctly, but
-     * you would expect it parse, the problem likely lies below. 
-     * 
+     * you would expect it parse, the problem likely lies below.
+     *
      * The following regex patterns control most of the string matching
      * within the parser.
-     * 
+     *
      * The Month name and Day name patterns were automatically generated
-     * and in general should be (mostly) correct. 
+     * and in general should be (mostly) correct.
      *
      * Beyond the month and day name patterns are natural language strings.
      * Example: "next", "today", "months"
      *
-     * These natural language string may NOT be correct for this culture. 
+     * These natural language string may NOT be correct for this culture.
      * If they are not correct, please translate and edit this file
-     * providing the correct regular expression pattern. 
+     * providing the correct regular expression pattern.
      *
      * If you modify this file, please post your revised CultureInfo file
      * to the Datejs Forum located at http://www.datejs.com/forums/.
      *
      * Please mark the subject of the post with [CultureInfo]. Example:
      *    Subject: [CultureInfo] Translated "da-DK" Danish(Denmark)
-     * 
+     *
      * We will add the modified patterns to the master source files.
      *
-     * As well, please review the list of "Future Strings" section below. 
-     */        
+     * As well, please review the list of "Future Strings" section below.
+     */
     regexPatterns: {
         jan: /^sau(sis)?/i,
         feb: /^vas(aris)?/i,
@@ -107,12 +107,12 @@ Date.CultureInfo = {
         past: /^last|past|prev(ious)?/i,
         add: /^(\+|aft(er)?|from|hence)/i,
         subtract: /^(\-|bef(ore)?|ago)/i,
-        
+
         yesterday: /^yes(terday)?/i,
         today: /^t(od(ay)?)?/i,
         tomorrow: /^tom(orrow)?/i,
         now: /^n(ow)?/i,
-        
+
         millisecond: /^ms|milli(second)?s?/i,
         second: /^sec(ond)?s?/i,
         minute: /^mn|min(ute)?s?/i,
@@ -121,7 +121,7 @@ Date.CultureInfo = {
         month: /^m(onth)?s?/i,
         day: /^d(ay)?s?/i,
         year: /^y(ear)?s?/i,
-               
+
         shortMeridian: /^(a|p)/i,
         longMeridian: /^(a\.?m?\.?|p\.?m?\.?)/i,
         timezone: /^((e(s|d)t|c(s|d)t|m(s|d)t|p(s|d)t)|((gmt)?\s*(\+|\-)\s*\d\d\d\d?)|gmt|utc)/i,
@@ -135,12 +135,12 @@ Date.CultureInfo = {
 /********************
  ** Future Strings **
  ********************
- * 
- * The following list of strings may not be currently being used, but 
- * may be incorporated into the Datejs library later. 
+ *
+ * The following list of strings may not be currently being used, but
+ * may be incorporated into the Datejs library later.
  *
  * We would appreciate any help translating the strings below.
- * 
+ *
  * If you modify this file, please post your revised CultureInfo file
  * to the Datejs Forum located at http://www.datejs.com/forums/.
  *
@@ -192,4 +192,4 @@ Date.CultureInfo = {
  * end                 end
  * long                long
  * short               short
- */
\ No newline at end of file
+ */
index 09ac777..106c3ef 100644 (file)
@@ -3,13 +3,13 @@ Date.CultureInfo = {
     name: "lv-LV",
     englishName: "Latvian (Latvia)",
     nativeName: "latviešu (Latvija)",
-    
+
     /* Day Name Strings */
     dayNames: ["svētdiena", "pirmdiena", "otrdiena", "trešdiena", "ceturtdiena", "piektdiena", "sestdiena"],
     abbreviatedDayNames: ["Sv", "Pr", "Ot", "Tr", "Ce", "Pk", "Se"],
     shortestDayNames: ["Sv", "Pr", "Ot", "Tr", "Ce", "Pk", "Se"],
     firstLetterDayNames: ["S", "P", "O", "T", "C", "P", "S"],
-    
+
     /* Month Name Strings */
     monthNames: ["janvāris", "februāris", "marts", "aprīlis", "maijs", "jūnijs", "jūlijs", "augusts", "septembris", "oktobris", "novembris", "decembris"],
     abbreviatedMonthNames: ["Jan", "Feb", "Mar", "Apr", "Mai", "Jūn", "Jūl", "Aug", "Sep", "Okt", "Nov", "Dec"],
@@ -20,15 +20,15 @@ Date.CultureInfo = {
 
     firstDayOfWeek: 1,
     twoDigitYearMax: 2029,
-    
+
     /**
-     * The dateElementOrder is based on the order of the 
-     * format specifiers in the formatPatterns.DatePattern. 
+     * The dateElementOrder is based on the order of the
+     * format specifiers in the formatPatterns.DatePattern.
      *
      * Example:
      <pre>
      shortDatePattern    dateElementOrder
-     ------------------  ---------------- 
+     ------------------  ----------------
      "M/d/yyyy"          "mdy"
      "dd/MM/yyyy"        "dmy"
      "yyyy-MM-dd"        "ymd"
@@ -39,7 +39,7 @@ Date.CultureInfo = {
      * string being parsed.
      */
     dateElementOrder: "ymd",
-    
+
     /* Standard date and time format patterns */
     formatPatterns: {
         shortDate: "yyyy.MM.dd.",
@@ -56,31 +56,31 @@ Date.CultureInfo = {
 
     /**
      * NOTE: If a string format is not parsing correctly, but
-     * you would expect it parse, the problem likely lies below. 
-     * 
+     * you would expect it parse, the problem likely lies below.
+     *
      * The following regex patterns control most of the string matching
      * within the parser.
-     * 
+     *
      * The Month name and Day name patterns were automatically generated
-     * and in general should be (mostly) correct. 
+     * and in general should be (mostly) correct.
      *
      * Beyond the month and day name patterns are natural language strings.
      * Example: "next", "today", "months"
      *
-     * These natural language string may NOT be correct for this culture. 
+     * These natural language string may NOT be correct for this culture.
      * If they are not correct, please translate and edit this file
-     * providing the correct regular expression pattern. 
+     * providing the correct regular expression pattern.
      *
      * If you modify this file, please post your revised CultureInfo file
      * to the Datejs Forum located at http://www.datejs.com/forums/.
      *
      * Please mark the subject of the post with [CultureInfo]. Example:
      *    Subject: [CultureInfo] Translated "da-DK" Danish(Denmark)
-     * 
+     *
      * We will add the modified patterns to the master source files.
      *
-     * As well, please review the list of "Future Strings" section below. 
-     */        
+     * As well, please review the list of "Future Strings" section below.
+     */
     regexPatterns: {
         jan: /^jan(vāris)?/i,
         feb: /^feb(ruāris)?/i,
@@ -107,12 +107,12 @@ Date.CultureInfo = {
         past: /^last|past|prev(ious)?/i,
         add: /^(\+|aft(er)?|from|hence)/i,
         subtract: /^(\-|bef(ore)?|ago)/i,
-        
+
         yesterday: /^yes(terday)?/i,
         today: /^t(od(ay)?)?/i,
         tomorrow: /^tom(orrow)?/i,
         now: /^n(ow)?/i,
-        
+
         millisecond: /^ms|milli(second)?s?/i,
         second: /^sec(ond)?s?/i,
         minute: /^mn|min(ute)?s?/i,
@@ -121,7 +121,7 @@ Date.CultureInfo = {
         month: /^m(onth)?s?/i,
         day: /^d(ay)?s?/i,
         year: /^y(ear)?s?/i,
-               
+
         shortMeridian: /^(a|p)/i,
         longMeridian: /^(a\.?m?\.?|p\.?m?\.?)/i,
         timezone: /^((e(s|d)t|c(s|d)t|m(s|d)t|p(s|d)t)|((gmt)?\s*(\+|\-)\s*\d\d\d\d?)|gmt|utc)/i,
@@ -135,12 +135,12 @@ Date.CultureInfo = {
 /********************
  ** Future Strings **
  ********************
- * 
- * The following list of strings may not be currently being used, but 
- * may be incorporated into the Datejs library later. 
+ *
+ * The following list of strings may not be currently being used, but
+ * may be incorporated into the Datejs library later.
  *
  * We would appreciate any help translating the strings below.
- * 
+ *
  * If you modify this file, please post your revised CultureInfo file
  * to the Datejs Forum located at http://www.datejs.com/forums/.
  *
@@ -192,4 +192,4 @@ Date.CultureInfo = {
  * end                 end
  * long                long
  * short               short
- */
\ No newline at end of file
+ */
index 17a1fa0..fd777fa 100644 (file)
@@ -3,13 +3,13 @@ Date.CultureInfo = {
     name: "mk-MK",
     englishName: "Macedonian (Former Yugoslav Republic of Macedonia)",
     nativeName: "македонски јазик (Македонија)",
-    
+
     /* Day Name Strings */
     dayNames: ["недела", "понеделник", "вторник", "среда", "четврток", "петок", "сабота"],
     abbreviatedDayNames: ["нед", "пон", "втр", "срд", "чет", "пет", "саб"],
     shortestDayNames: ["не", "по", "вт", "ср", "че", "пе", "са"],
     firstLetterDayNames: ["н", "п", "в", "с", "ч", "п", "с"],
-    
+
     /* Month Name Strings */
     monthNames: ["јануари", "февруари", "март", "април", "мај", "јуни", "јули", "август", "септември", "октомври", "ноември", "декември"],
     abbreviatedMonthNames: ["јан", "фев", "мар", "апр", "мај", "јун", "јул", "авг", "сеп", "окт", "ное", "дек"],
@@ -20,15 +20,15 @@ Date.CultureInfo = {
 
     firstDayOfWeek: 1,
     twoDigitYearMax: 2029,
-    
+
     /**
-     * The dateElementOrder is based on the order of the 
-     * format specifiers in the formatPatterns.DatePattern. 
+     * The dateElementOrder is based on the order of the
+     * format specifiers in the formatPatterns.DatePattern.
      *
      * Example:
      <pre>
      shortDatePattern    dateElementOrder
-     ------------------  ---------------- 
+     ------------------  ----------------
      "M/d/yyyy"          "mdy"
      "dd/MM/yyyy"        "dmy"
      "yyyy-MM-dd"        "ymd"
@@ -39,7 +39,7 @@ Date.CultureInfo = {
      * string being parsed.
      */
     dateElementOrder: "dmy",
-    
+
     /* Standard date and time format patterns */
     formatPatterns: {
         shortDate: "dd.MM.yyyy",
@@ -56,31 +56,31 @@ Date.CultureInfo = {
 
     /**
      * NOTE: If a string format is not parsing correctly, but
-     * you would expect it parse, the problem likely lies below. 
-     * 
+     * you would expect it parse, the problem likely lies below.
+     *
      * The following regex patterns control most of the string matching
      * within the parser.
-     * 
+     *
      * The Month name and Day name patterns were automatically generated
-     * and in general should be (mostly) correct. 
+     * and in general should be (mostly) correct.
      *
      * Beyond the month and day name patterns are natural language strings.
      * Example: "next", "today", "months"
      *
-     * These natural language string may NOT be correct for this culture. 
+     * These natural language string may NOT be correct for this culture.
      * If they are not correct, please translate and edit this file
-     * providing the correct regular expression pattern. 
+     * providing the correct regular expression pattern.
      *
      * If you modify this file, please post your revised CultureInfo file
      * to the Datejs Forum located at http://www.datejs.com/forums/.
      *
      * Please mark the subject of the post with [CultureInfo]. Example:
      *    Subject: [CultureInfo] Translated "da-DK" Danish(Denmark)
-     * 
+     *
      * We will add the modified patterns to the master source files.
      *
-     * As well, please review the list of "Future Strings" section below. 
-     */        
+     * As well, please review the list of "Future Strings" section below.
+     */
     regexPatterns: {
         jan: /^јан(уари)?/i,
         feb: /^фев(руари)?/i,
@@ -107,12 +107,12 @@ Date.CultureInfo = {
         past: /^last|past|prev(ious)?/i,
         add: /^(\+|aft(er)?|from|hence)/i,
         subtract: /^(\-|bef(ore)?|ago)/i,
-        
+
         yesterday: /^yes(terday)?/i,
         today: /^t(od(ay)?)?/i,
         tomorrow: /^tom(orrow)?/i,
         now: /^n(ow)?/i,
-        
+
         millisecond: /^ms|milli(second)?s?/i,
         second: /^sec(ond)?s?/i,
         minute: /^mn|min(ute)?s?/i,
@@ -121,7 +121,7 @@ Date.CultureInfo = {
         month: /^m(onth)?s?/i,
         day: /^d(ay)?s?/i,
         year: /^y(ear)?s?/i,
-               
+
         shortMeridian: /^(a|p)/i,
         longMeridian: /^(a\.?m?\.?|p\.?m?\.?)/i,
         timezone: /^((e(s|d)t|c(s|d)t|m(s|d)t|p(s|d)t)|((gmt)?\s*(\+|\-)\s*\d\d\d\d?)|gmt|utc)/i,
@@ -135,12 +135,12 @@ Date.CultureInfo = {
 /********************
  ** Future Strings **
  ********************
- * 
- * The following list of strings may not be currently being used, but 
- * may be incorporated into the Datejs library later. 
+ *
+ * The following list of strings may not be currently being used, but
+ * may be incorporated into the Datejs library later.
  *
  * We would appreciate any help translating the strings below.
- * 
+ *
  * If you modify this file, please post your revised CultureInfo file
  * to the Datejs Forum located at http://www.datejs.com/forums/.
  *
@@ -192,4 +192,4 @@ Date.CultureInfo = {
  * end                 end
  * long                long
  * short               short
- */
\ No newline at end of file
+ */
index 9da1b01..3fdd674 100644 (file)
@@ -3,13 +3,13 @@ Date.CultureInfo = {
     name: "nb-NO",
     englishName: "Norwegian, Bokmål (Norway)",
     nativeName: "norsk, bokmål (Norge)",
-    
+
     /* Day Name Strings */
     dayNames: ["søndag", "mandag", "tirsdag", "onsdag", "torsdag", "fredag", "lørdag"],
     abbreviatedDayNames: ["sø", "ma", "ti", "on", "to", "fr", "lø"],
     shortestDayNames: ["sø", "ma", "ti", "on", "to", "fr", "lø"],
     firstLetterDayNames: ["s", "m", "t", "o", "t", "f", "l"],
-    
+
     /* Month Name Strings */
     monthNames: ["januar", "februar", "mars", "april", "mai", "juni", "juli", "august", "september", "oktober", "november", "desember"],
     abbreviatedMonthNames: ["jan", "feb", "mar", "apr", "mai", "jun", "jul", "aug", "sep", "okt", "nov", "des"],
@@ -20,15 +20,15 @@ Date.CultureInfo = {
 
     firstDayOfWeek: 1,
     twoDigitYearMax: 2029,
-    
+
     /**
-     * The dateElementOrder is based on the order of the 
-     * format specifiers in the formatPatterns.DatePattern. 
+     * The dateElementOrder is based on the order of the
+     * format specifiers in the formatPatterns.DatePattern.
      *
      * Example:
      <pre>
      shortDatePattern    dateElementOrder
-     ------------------  ---------------- 
+     ------------------  ----------------
      "M/d/yyyy"          "mdy"
      "dd/MM/yyyy"        "dmy"
      "yyyy-MM-dd"        "ymd"
@@ -39,7 +39,7 @@ Date.CultureInfo = {
      * string being parsed.
      */
     dateElementOrder: "dmy",
-    
+
     /* Standard date and time format patterns */
     formatPatterns: {
         shortDate: "dd.MM.yyyy",
@@ -56,31 +56,31 @@ Date.CultureInfo = {
 
     /**
      * NOTE: If a string format is not parsing correctly, but
-     * you would expect it parse, the problem likely lies below. 
-     * 
+     * you would expect it parse, the problem likely lies below.
+     *
      * The following regex patterns control most of the string matching
      * within the parser.
-     * 
+     *
      * The Month name and Day name patterns were automatically generated
-     * and in general should be (mostly) correct. 
+     * and in general should be (mostly) correct.
      *
      * Beyond the month and day name patterns are natural language strings.
      * Example: "next", "today", "months"
      *
-     * These natural language string may NOT be correct for this culture. 
+     * These natural language string may NOT be correct for this culture.
      * If they are not correct, please translate and edit this file
-     * providing the correct regular expression pattern. 
+     * providing the correct regular expression pattern.
      *
      * If you modify this file, please post your revised CultureInfo file
      * to the Datejs Forum located at http://www.datejs.com/forums/.
      *
      * Please mark the subject of the post with [CultureInfo]. Example:
      *    Subject: [CultureInfo] Translated "da-DK" Danish(Denmark)
-     * 
+     *
      * We will add the modified patterns to the master source files.
      *
-     * As well, please review the list of "Future Strings" section below. 
-     */        
+     * As well, please review the list of "Future Strings" section below.
+     */
     regexPatterns: {
         jan: /^jan(uar)?/i,
         feb: /^feb(ruar)?/i,
@@ -107,12 +107,12 @@ Date.CultureInfo = {
         past: /^last|past|prev(ious)?/i,
         add: /^(\+|aft(er)?|from|hence)/i,
         subtract: /^(\-|bef(ore)?|ago)/i,
-        
+
         yesterday: /^yes(terday)?/i,
         today: /^t(od(ay)?)?/i,
         tomorrow: /^tom(orrow)?/i,
         now: /^n(ow)?/i,
-        
+
         millisecond: /^ms|milli(second)?s?/i,
         second: /^sec(ond)?s?/i,
         minute: /^mn|min(ute)?s?/i,
@@ -121,7 +121,7 @@ Date.CultureInfo = {
         month: /^m(onth)?s?/i,
         day: /^d(ay)?s?/i,
         year: /^y(ear)?s?/i,
-               
+
         shortMeridian: /^(a|p)/i,
         longMeridian: /^(a\.?m?\.?|p\.?m?\.?)/i,
         timezone: /^((e(s|d)t|c(s|d)t|m(s|d)t|p(s|d)t)|((gmt)?\s*(\+|\-)\s*\d\d\d\d?)|gmt|utc)/i,
@@ -135,12 +135,12 @@ Date.CultureInfo = {
 /********************
  ** Future Strings **
  ********************
- * 
- * The following list of strings may not be currently being used, but 
- * may be incorporated into the Datejs library later. 
+ *
+ * The following list of strings may not be currently being used, but
+ * may be incorporated into the Datejs library later.
  *
  * We would appreciate any help translating the strings below.
- * 
+ *
  * If you modify this file, please post your revised CultureInfo file
  * to the Datejs Forum located at http://www.datejs.com/forums/.
  *
@@ -192,4 +192,4 @@ Date.CultureInfo = {
  * end                 end
  * long                long
  * short               short
- */
\ No newline at end of file
+ */
index ece102b..19709f6 100644 (file)
@@ -3,13 +3,13 @@ Date.CultureInfo = {
     name: "nl-NL",
     englishName: "Dutch (Netherlands)",
     nativeName: "Nederlands (Nederland)",
-    
+
     /* Day Name Strings */
     dayNames: ["zondag", "maandag", "dinsdag", "woensdag", "donderdag", "vrijdag", "zaterdag"],
     abbreviatedDayNames: ["zo", "ma", "di", "wo", "do", "vr", "za"],
     shortestDayNames: ["zo", "ma", "di", "wo", "do", "vr", "za"],
     firstLetterDayNames: ["z", "m", "d", "w", "d", "v", "z"],
-    
+
     /* Month Name Strings */
     monthNames: ["januari", "februari", "maart", "april", "mei", "juni", "juli", "augustus", "september", "oktober", "november", "december"],
     abbreviatedMonthNames: ["jan", "feb", "mrt", "apr", "mei", "jun", "jul", "aug", "sep", "okt", "nov", "dec"],
@@ -20,15 +20,15 @@ Date.CultureInfo = {
 
     firstDayOfWeek: 1,
     twoDigitYearMax: 2029,
-    
+
     /**
-     * The dateElementOrder is based on the order of the 
-     * format specifiers in the formatPatterns.DatePattern. 
+     * The dateElementOrder is based on the order of the
+     * format specifiers in the formatPatterns.DatePattern.
      *
      * Example:
      <pre>
      shortDatePattern    dateElementOrder
-     ------------------  ---------------- 
+     ------------------  ----------------
      "M/d/yyyy"          "mdy"
      "dd/MM/yyyy"        "dmy"
      "yyyy-MM-dd"        "ymd"
@@ -39,7 +39,7 @@ Date.CultureInfo = {
      * string being parsed.
      */
     dateElementOrder: "dmy",
-    
+
     /* Standard date and time format patterns */
     formatPatterns: {
         shortDate: "d-M-yyyy",
@@ -56,31 +56,31 @@ Date.CultureInfo = {
 
     /**
      * NOTE: If a string format is not parsing correctly, but
-     * you would expect it parse, the problem likely lies below. 
-     * 
+     * you would expect it parse, the problem likely lies below.
+     *
      * The following regex patterns control most of the string matching
      * within the parser.
-     * 
+     *
      * The Month name and Day name patterns were automatically generated
-     * and in general should be (mostly) correct. 
+     * and in general should be (mostly) correct.
      *
      * Beyond the month and day name patterns are natural language strings.
      * Example: "next", "today", "months"
      *
-     * These natural language string may NOT be correct for this culture. 
+     * These natural language string may NOT be correct for this culture.
      * If they are not correct, please translate and edit this file
-     * providing the correct regular expression pattern. 
+     * providing the correct regular expression pattern.
      *
      * If you modify this file, please post your revised CultureInfo file
      * to the Datejs Forum located at http://www.datejs.com/forums/.
      *
      * Please mark the subject of the post with [CultureInfo]. Example:
      *    Subject: [CultureInfo] Translated "da-DK" Danish(Denmark)
-     * 
+     *
      * We will add the modified patterns to the master source files.
      *
-     * As well, please review the list of "Future Strings" section below. 
-     */        
+     * As well, please review the list of "Future Strings" section below.
+     */
     regexPatterns: {
         jan: /^jan(uari)?/i,
         feb: /^feb(ruari)?/i,
@@ -107,12 +107,12 @@ Date.CultureInfo = {
         past: /^last|past|prev(ious)?/i,
         add: /^(\+|aft(er)?|from|hence)/i,
         subtract: /^(\-|bef(ore)?|ago)/i,
-        
+
         yesterday: /^yes(terday)?/i,
         today: /^t(od(ay)?)?/i,
         tomorrow: /^tom(orrow)?/i,
         now: /^n(ow)?/i,
-        
+
         millisecond: /^ms|milli(second)?s?/i,
         second: /^sec(ond)?s?/i,
         minute: /^mn|min(ute)?s?/i,
@@ -121,7 +121,7 @@ Date.CultureInfo = {
         month: /^m(onth)?s?/i,
         day: /^d(ay)?s?/i,
         year: /^y(ear)?s?/i,
-               
+
         shortMeridian: /^(a|p)/i,
         longMeridian: /^(a\.?m?\.?|p\.?m?\.?)/i,
         timezone: /^((e(s|d)t|c(s|d)t|m(s|d)t|p(s|d)t)|((gmt)?\s*(\+|\-)\s*\d\d\d\d?)|gmt|utc)/i,
@@ -135,12 +135,12 @@ Date.CultureInfo = {
 /********************
  ** Future Strings **
  ********************
- * 
- * The following list of strings may not be currently being used, but 
- * may be incorporated into the Datejs library later. 
+ *
+ * The following list of strings may not be currently being used, but
+ * may be incorporated into the Datejs library later.
  *
  * We would appreciate any help translating the strings below.
- * 
+ *
  * If you modify this file, please post your revised CultureInfo file
  * to the Datejs Forum located at http://www.datejs.com/forums/.
  *
@@ -192,4 +192,4 @@ Date.CultureInfo = {
  * end                 end
  * long                long
  * short               short
- */
\ No newline at end of file
+ */
index a01a3a0..71f99b4 100644 (file)
@@ -3,13 +3,13 @@ Date.CultureInfo = {
     name: "nn-NO",
     englishName: "Norwegian, Nynorsk (Norway)",
     nativeName: "norsk, nynorsk (Noreg)",
-    
+
     /* Day Name Strings */
     dayNames: ["søndag", "måndag", "tysdag", "onsdag", "torsdag", "fredag", "laurdag"],
     abbreviatedDayNames: ["sø", "må", "ty", "on", "to", "fr", "la"],
     shortestDayNames: ["sø", "må", "ty", "on", "to", "fr", "la"],
     firstLetterDayNames: ["s", "m", "t", "o", "t", "f", "l"],
-    
+
     /* Month Name Strings */
     monthNames: ["januar", "februar", "mars", "april", "mai", "juni", "juli", "august", "september", "oktober", "november", "desember"],
     abbreviatedMonthNames: ["jan", "feb", "mar", "apr", "mai", "jun", "jul", "aug", "sep", "okt", "nov", "des"],
@@ -20,15 +20,15 @@ Date.CultureInfo = {
 
     firstDayOfWeek: 1,
     twoDigitYearMax: 2029,
-    
+
     /**
-     * The dateElementOrder is based on the order of the 
-     * format specifiers in the formatPatterns.DatePattern. 
+     * The dateElementOrder is based on the order of the
+     * format specifiers in the formatPatterns.DatePattern.
      *
      * Example:
      <pre>
      shortDatePattern    dateElementOrder
-     ------------------  ---------------- 
+     ------------------  ----------------
      "M/d/yyyy"          "mdy"
      "dd/MM/yyyy"        "dmy"
      "yyyy-MM-dd"        "ymd"
@@ -39,7 +39,7 @@ Date.CultureInfo = {
      * string being parsed.
      */
     dateElementOrder: "dmy",
-    
+
     /* Standard date and time format patterns */
     formatPatterns: {
         shortDate: "dd.MM.yyyy",
@@ -56,31 +56,31 @@ Date.CultureInfo = {
 
     /**
      * NOTE: If a string format is not parsing correctly, but
-     * you would expect it parse, the problem likely lies below. 
-     * 
+     * you would expect it parse, the problem likely lies below.
+     *
      * The following regex patterns control most of the string matching
      * within the parser.
-     * 
+     *
      * The Month name and Day name patterns were automatically generated
-     * and in general should be (mostly) correct. 
+     * and in general should be (mostly) correct.
      *
      * Beyond the month and day name patterns are natural language strings.
      * Example: "next", "today", "months"
      *
-     * These natural language string may NOT be correct for this culture. 
+     * These natural language string may NOT be correct for this culture.
      * If they are not correct, please translate and edit this file
-     * providing the correct regular expression pattern. 
+     * providing the correct regular expression pattern.
      *
      * If you modify this file, please post your revised CultureInfo file
      * to the Datejs Forum located at http://www.datejs.com/forums/.
      *
      * Please mark the subject of the post with [CultureInfo]. Example:
      *    Subject: [CultureInfo] Translated "da-DK" Danish(Denmark)
-     * 
+     *
      * We will add the modified patterns to the master source files.
      *
-     * As well, please review the list of "Future Strings" section below. 
-     */        
+     * As well, please review the list of "Future Strings" section below.
+     */
     regexPatterns: {
         jan: /^jan(uar)?/i,
         feb: /^feb(ruar)?/i,
@@ -107,12 +107,12 @@ Date.CultureInfo = {
         past: /^last|past|prev(ious)?/i,
         add: /^(\+|aft(er)?|from|hence)/i,
         subtract: /^(\-|bef(ore)?|ago)/i,
-        
+
         yesterday: /^yes(terday)?/i,
         today: /^t(od(ay)?)?/i,
         tomorrow: /^tom(orrow)?/i,
         now: /^n(ow)?/i,
-        
+
         millisecond: /^ms|milli(second)?s?/i,
         second: /^sec(ond)?s?/i,
         minute: /^mn|min(ute)?s?/i,
@@ -121,7 +121,7 @@ Date.CultureInfo = {
         month: /^m(onth)?s?/i,
         day: /^d(ay)?s?/i,
         year: /^y(ear)?s?/i,
-               
+
         shortMeridian: /^(a|p)/i,
         longMeridian: /^(a\.?m?\.?|p\.?m?\.?)/i,
         timezone: /^((e(s|d)t|c(s|d)t|m(s|d)t|p(s|d)t)|((gmt)?\s*(\+|\-)\s*\d\d\d\d?)|gmt|utc)/i,
@@ -135,12 +135,12 @@ Date.CultureInfo = {
 /********************
  ** Future Strings **
  ********************
- * 
- * The following list of strings may not be currently being used, but 
- * may be incorporated into the Datejs library later. 
+ *
+ * The following list of strings may not be currently being used, but
+ * may be incorporated into the Datejs library later.
  *
  * We would appreciate any help translating the strings below.
- * 
+ *
  * If you modify this file, please post your revised CultureInfo file
  * to the Datejs Forum located at http://www.datejs.com/forums/.
  *
@@ -192,4 +192,4 @@ Date.CultureInfo = {
  * end                 end
  * long                long
  * short               short
- */
\ No newline at end of file
+ */
index c44d002..fadffc3 100644 (file)
@@ -3,13 +3,13 @@ Date.CultureInfo = {
     name: "pl-PL",
     englishName: "Polish (Poland)",
     nativeName: "polski (Polska)",
-    
+
     /* Day Name Strings */
     dayNames: ["niedziela", "poniedziałek", "wtorek", "środa", "czwartek", "piątek", "sobota"],
     abbreviatedDayNames: ["N", "Pn", "Wt", "Śr", "Cz", "Pt", "So"],
     shortestDayNames: ["N", "Pn", "Wt", "Śr", "Cz", "Pt", "So"],
     firstLetterDayNames: ["N", "P", "W", "Ś", "C", "P", "S"],
-    
+
     /* Month Name Strings */
     monthNames: ["styczeń", "luty", "marzec", "kwiecień", "maj", "czerwiec", "lipiec", "sierpień", "wrzesień", "październik", "listopad", "grudzień"],
     abbreviatedMonthNames: ["sty", "lut", "mar", "kwi", "maj", "cze", "lip", "sie", "wrz", "paź", "lis", "gru"],
@@ -20,15 +20,15 @@ Date.CultureInfo = {
 
     firstDayOfWeek: 1,
     twoDigitYearMax: 2029,
-    
+
     /**
-     * The dateElementOrder is based on the order of the 
-     * format specifiers in the formatPatterns.DatePattern. 
+     * The dateElementOrder is based on the order of the
+     * format specifiers in the formatPatterns.DatePattern.
      *
      * Example:
      <pre>
      shortDatePattern    dateElementOrder
-     ------------------  ---------------- 
+     ------------------  ----------------
      "M/d/yyyy"          "mdy"
      "dd/MM/yyyy"        "dmy"
      "yyyy-MM-dd"        "ymd"
@@ -39,7 +39,7 @@ Date.CultureInfo = {
      * string being parsed.
      */
     dateElementOrder: "ymd",
-    
+
     /* Standard date and time format patterns */
     formatPatterns: {
         shortDate: "yyyy-MM-dd",
@@ -56,31 +56,31 @@ Date.CultureInfo = {
 
     /**
      * NOTE: If a string format is not parsing correctly, but
-     * you would expect it parse, the problem likely lies below. 
-     * 
+     * you would expect it parse, the problem likely lies below.
+     *
      * The following regex patterns control most of the string matching
      * within the parser.
-     * 
+     *
      * The Month name and Day name patterns were automatically generated
-     * and in general should be (mostly) correct. 
+     * and in general should be (mostly) correct.
      *
      * Beyond the month and day name patterns are natural language strings.
      * Example: "next", "today", "months"
      *
-     * These natural language string may NOT be correct for this culture. 
+     * These natural language string may NOT be correct for this culture.
      * If they are not correct, please translate and edit this file
-     * providing the correct regular expression pattern. 
+     * providing the correct regular expression pattern.
      *
      * If you modify this file, please post your revised CultureInfo file
      * to the Datejs Forum located at http://www.datejs.com/forums/.
      *
      * Please mark the subject of the post with [CultureInfo]. Example:
      *    Subject: [CultureInfo] Translated "da-DK" Danish(Denmark)
-     * 
+     *
      * We will add the modified patterns to the master source files.
      *
-     * As well, please review the list of "Future Strings" section below. 
-     */        
+     * As well, please review the list of "Future Strings" section below.
+     */
     regexPatterns: {
         jan: /^sty(czeń)?/i,
         feb: /^lut(y)?/i,
@@ -107,12 +107,12 @@ Date.CultureInfo = {
         past: /^last|past|prev(ious)?/i,
         add: /^(\+|aft(er)?|from|hence)/i,
         subtract: /^(\-|bef(ore)?|ago)/i,
-        
+
         yesterday: /^yes(terday)?/i,
         today: /^t(od(ay)?)?/i,
         tomorrow: /^tom(orrow)?/i,
         now: /^n(ow)?/i,
-        
+
         millisecond: /^ms|milli(second)?s?/i,
         second: /^sec(ond)?s?/i,
         minute: /^mn|min(ute)?s?/i,
@@ -121,7 +121,7 @@ Date.CultureInfo = {
         month: /^m(onth)?s?/i,
         day: /^d(ay)?s?/i,
         year: /^y(ear)?s?/i,
-               
+
         shortMeridian: /^(a|p)/i,
         longMeridian: /^(a\.?m?\.?|p\.?m?\.?)/i,
         timezone: /^((e(s|d)t|c(s|d)t|m(s|d)t|p(s|d)t)|((gmt)?\s*(\+|\-)\s*\d\d\d\d?)|gmt|utc)/i,
@@ -135,12 +135,12 @@ Date.CultureInfo = {
 /********************
  ** Future Strings **
  ********************
- * 
- * The following list of strings may not be currently being used, but 
- * may be incorporated into the Datejs library later. 
+ *
+ * The following list of strings may not be currently being used, but
+ * may be incorporated into the Datejs library later.
  *
  * We would appreciate any help translating the strings below.
- * 
+ *
  * If you modify this file, please post your revised CultureInfo file
  * to the Datejs Forum located at http://www.datejs.com/forums/.
  *
@@ -192,4 +192,4 @@ Date.CultureInfo = {
  * end                 end
  * long                long
  * short               short
- */
\ No newline at end of file
+ */
index 6313c58..bd8c1fc 100644 (file)
@@ -3,13 +3,13 @@ Date.CultureInfo = {
     name: "pt-BR",
     englishName: "Portuguese (Brazil)",
     nativeName: "Português (Brasil)",
-    
+
     /* Day Name Strings */
     dayNames: ["domingo", "segunda-feira", "terça-feira", "quarta-feira", "quinta-feira", "sexta-feira", "sábado"],
     abbreviatedDayNames: ["dom", "seg", "ter", "qua", "qui", "sex", "sáb"],
     shortestDayNames: ["dom", "seg", "ter", "qua", "qui", "sex", "sáb"],
     firstLetterDayNames: ["d", "s", "t", "q", "q", "s", "s"],
-    
+
     /* Month Name Strings */
     monthNames: ["janeiro", "fevereiro", "março", "abril", "maio", "junho", "julho", "agosto", "setembro", "outubro", "novembro", "dezembro"],
     abbreviatedMonthNames: ["jan", "fev", "mar", "abr", "mai", "jun", "jul", "ago", "set", "out", "nov", "dez"],
@@ -20,15 +20,15 @@ Date.CultureInfo = {
 
     firstDayOfWeek: 0,
     twoDigitYearMax: 2029,
-    
+
     /**
-     * The dateElementOrder is based on the order of the 
-     * format specifiers in the formatPatterns.DatePattern. 
+     * The dateElementOrder is based on the order of the
+     * format specifiers in the formatPatterns.DatePattern.
      *
      * Example:
      <pre>
      shortDatePattern    dateElementOrder
-     ------------------  ---------------- 
+     ------------------  ----------------
      "M/d/yyyy"          "mdy"
      "dd/MM/yyyy"        "dmy"
      "yyyy-MM-dd"        "ymd"
@@ -39,7 +39,7 @@ Date.CultureInfo = {
      * string being parsed.
      */
     dateElementOrder: "dmy",
-    
+
     /* Standard date and time format patterns */
     formatPatterns: {
         shortDate: "d/M/yyyy",
@@ -56,31 +56,31 @@ Date.CultureInfo = {
 
     /**
      * NOTE: If a string format is not parsing correctly, but
-     * you would expect it parse, the problem likely lies below. 
-     * 
+     * you would expect it parse, the problem likely lies below.
+     *
      * The following regex patterns control most of the string matching
      * within the parser.
-     * 
+     *
      * The Month name and Day name patterns were automatically generated
-     * and in general should be (mostly) correct. 
+     * and in general should be (mostly) correct.
      *
      * Beyond the month and day name patterns are natural language strings.
      * Example: "next", "today", "months"
      *
-     * These natural language string may NOT be correct for this culture. 
+     * These natural language string may NOT be correct for this culture.
      * If they are not correct, please translate and edit this file
-     * providing the correct regular expression pattern. 
+     * providing the correct regular expression pattern.
      *
      * If you modify this file, please post your revised CultureInfo file
      * to the Datejs Forum located at http://www.datejs.com/forums/.
      *
      * Please mark the subject of the post with [CultureInfo]. Example:
      *    Subject: [CultureInfo] Translated "da-DK" Danish(Denmark)
-     * 
+     *
      * We will add the modified patterns to the master source files.
      *
-     * As well, please review the list of "Future Strings" section below. 
-     */        
+     * As well, please review the list of "Future Strings" section below.
+     */
     regexPatterns: {
         jan: /^jan(eiro)?/i,
         feb: /^fev(ereiro)?/i,
@@ -107,12 +107,12 @@ Date.CultureInfo = {
         past: /^last|past|prev(ious)?/i,
         add: /^(\+|aft(er)?|from|hence)/i,
         subtract: /^(\-|bef(ore)?|ago)/i,
-        
+
         yesterday: /^yes(terday)?/i,
         today: /^t(od(ay)?)?/i,
         tomorrow: /^tom(orrow)?/i,
         now: /^n(ow)?/i,
-        
+
         millisecond: /^ms|milli(second)?s?/i,
         second: /^sec(ond)?s?/i,
         minute: /^mn|min(ute)?s?/i,
@@ -121,7 +121,7 @@ Date.CultureInfo = {
         month: /^m(onth)?s?/i,
         day: /^d(ay)?s?/i,
         year: /^y(ear)?s?/i,
-               
+
         shortMeridian: /^(a|p)/i,
         longMeridian: /^(a\.?m?\.?|p\.?m?\.?)/i,
         timezone: /^((e(s|d)t|c(s|d)t|m(s|d)t|p(s|d)t)|((gmt)?\s*(\+|\-)\s*\d\d\d\d?)|gmt|utc)/i,
@@ -135,12 +135,12 @@ Date.CultureInfo = {
 /********************
  ** Future Strings **
  ********************
- * 
- * The following list of strings may not be currently being used, but 
- * may be incorporated into the Datejs library later. 
+ *
+ * The following list of strings may not be currently being used, but
+ * may be incorporated into the Datejs library later.
  *
  * We would appreciate any help translating the strings below.
- * 
+ *
  * If you modify this file, please post your revised CultureInfo file
  * to the Datejs Forum located at http://www.datejs.com/forums/.
  *
@@ -192,4 +192,4 @@ Date.CultureInfo = {
  * end                 end
  * long                long
  * short               short
- */
\ No newline at end of file
+ */
index 6c19c28..016a915 100644 (file)
@@ -3,13 +3,13 @@ Date.CultureInfo = {
     name: "pt-PT",
     englishName: "Portuguese (Portugal)",
     nativeName: "português (Portugal)",
-    
+
     /* Day Name Strings */
     dayNames: ["domingo", "segunda-feira", "terça-feira", "quarta-feira", "quinta-feira", "sexta-feira", "sábado"],
     abbreviatedDayNames: ["dom", "seg", "ter", "qua", "qui", "sex", "sáb"],
     shortestDayNames: ["dom", "seg", "ter", "qua", "qui", "sex", "sáb"],
     firstLetterDayNames: ["d", "s", "t", "q", "q", "s", "s"],
-    
+
     /* Month Name Strings */
     monthNames: ["Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"],
     abbreviatedMonthNames: ["Jan", "Fev", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Out", "Nov", "Dez"],
@@ -20,15 +20,15 @@ Date.CultureInfo = {
 
     firstDayOfWeek: 1,
     twoDigitYearMax: 2029,
-    
+
     /**
-     * The dateElementOrder is based on the order of the 
-     * format specifiers in the formatPatterns.DatePattern. 
+     * The dateElementOrder is based on the order of the
+     * format specifiers in the formatPatterns.DatePattern.
      *
      * Example:
      <pre>
      shortDatePattern    dateElementOrder
-     ------------------  ---------------- 
+     ------------------  ----------------
      "M/d/yyyy"          "mdy"
      "dd/MM/yyyy"        "dmy"
      "yyyy-MM-dd"        "ymd"
@@ -39,7 +39,7 @@ Date.CultureInfo = {
      * string being parsed.
      */
     dateElementOrder: "dmy",
-    
+
     /* Standard date and time format patterns */
     formatPatterns: {
         shortDate: "dd-MM-yyyy",
@@ -56,31 +56,31 @@ Date.CultureInfo = {
 
     /**
      * NOTE: If a string format is not parsing correctly, but
-     * you would expect it parse, the problem likely lies below. 
-     * 
+     * you would expect it parse, the problem likely lies below.
+     *
      * The following regex patterns control most of the string matching
      * within the parser.
-     * 
+     *
      * The Month name and Day name patterns were automatically generated
-     * and in general should be (mostly) correct. 
+     * and in general should be (mostly) correct.
      *
      * Beyond the month and day name patterns are natural language strings.
      * Example: "next", "today", "months"
      *
-     * These natural language string may NOT be correct for this culture. 
+     * These natural language string may NOT be correct for this culture.
      * If they are not correct, please translate and edit this file
-     * providing the correct regular expression pattern. 
+     * providing the correct regular expression pattern.
      *
      * If you modify this file, please post your revised CultureInfo file
      * to the Datejs Forum located at http://www.datejs.com/forums/.
      *
      * Please mark the subject of the post with [CultureInfo]. Example:
      *    Subject: [CultureInfo] Translated "da-DK" Danish(Denmark)
-     * 
+     *
      * We will add the modified patterns to the master source files.
      *
-     * As well, please review the list of "Future Strings" section below. 
-     */        
+     * As well, please review the list of "Future Strings" section below.
+     */
     regexPatterns: {
         jan: /^jan(eiro)?/i,
         feb: /^fev(ereiro)?/i,
@@ -107,12 +107,12 @@ Date.CultureInfo = {
         past: /^last|past|prev(ious)?/i,
         add: /^(\+|aft(er)?|from|hence)/i,
         subtract: /^(\-|bef(ore)?|ago)/i,
-        
+
         yesterday: /^yes(terday)?/i,
         today: /^t(od(ay)?)?/i,
         tomorrow: /^tom(orrow)?/i,
         now: /^n(ow)?/i,
-        
+
         millisecond: /^ms|milli(second)?s?/i,
         second: /^sec(ond)?s?/i,
         minute: /^mn|min(ute)?s?/i,
@@ -121,7 +121,7 @@ Date.CultureInfo = {
         month: /^m(onth)?s?/i,
         day: /^d(ay)?s?/i,
         year: /^y(ear)?s?/i,
-               
+
         shortMeridian: /^(a|p)/i,
         longMeridian: /^(a\.?m?\.?|p\.?m?\.?)/i,
         timezone: /^((e(s|d)t|c(s|d)t|m(s|d)t|p(s|d)t)|((gmt)?\s*(\+|\-)\s*\d\d\d\d?)|gmt|utc)/i,
@@ -135,12 +135,12 @@ Date.CultureInfo = {
 /********************
  ** Future Strings **
  ********************
- * 
- * The following list of strings may not be currently being used, but 
- * may be incorporated into the Datejs library later. 
+ *
+ * The following list of strings may not be currently being used, but
+ * may be incorporated into the Datejs library later.
  *
  * We would appreciate any help translating the strings below.
- * 
+ *
  * If you modify this file, please post your revised CultureInfo file
  * to the Datejs Forum located at http://www.datejs.com/forums/.
  *
@@ -192,4 +192,4 @@ Date.CultureInfo = {
  * end                 end
  * long                long
  * short               short
- */
\ No newline at end of file
+ */
index b35d3e5..5a3bb35 100644 (file)
@@ -3,13 +3,13 @@ Date.CultureInfo = {
     name: "ro-RO",
     englishName: "Romanian (Romania)",
     nativeName: "română (România)",
-    
+
     /* Day Name Strings */
     dayNames: ["duminică", "luni", "marţi", "miercuri", "joi", "vineri", "sâmbătă"],
     abbreviatedDayNames: ["D", "L", "Ma", "Mi", "J", "V", "S"],
     shortestDayNames: ["D", "L", "Ma", "Mi", "J", "V", "S"],
     firstLetterDayNames: ["D", "L", "M", "M", "J", "V", "S"],
-    
+
     /* Month Name Strings */
     monthNames: ["ianuarie", "februarie", "martie", "aprilie", "mai", "iunie", "iulie", "august", "septembrie", "octombrie", "noiembrie", "decembrie"],
     abbreviatedMonthNames: ["ian.", "feb.", "mar.", "apr.", "mai.", "iun.", "iul.", "aug.", "sep.", "oct.", "nov.", "dec."],
@@ -20,15 +20,15 @@ Date.CultureInfo = {
 
     firstDayOfWeek: 1,
     twoDigitYearMax: 2029,
-    
+
     /**
-     * The dateElementOrder is based on the order of the 
-     * format specifiers in the formatPatterns.DatePattern. 
+     * The dateElementOrder is based on the order of the
+     * format specifiers in the formatPatterns.DatePattern.
      *
      * Example:
      <pre>
      shortDatePattern    dateElementOrder
-     ------------------  ---------------- 
+     ------------------  ----------------
      "M/d/yyyy"          "mdy"
      "dd/MM/yyyy"        "dmy"
      "yyyy-MM-dd"        "ymd"
@@ -39,7 +39,7 @@ Date.CultureInfo = {
      * string being parsed.
      */
     dateElementOrder: "dmy",
-    
+
     /* Standard date and time format patterns */
     formatPatterns: {
         shortDate: "dd.MM.yyyy",
@@ -56,31 +56,31 @@ Date.CultureInfo = {
 
     /**
      * NOTE: If a string format is not parsing correctly, but
-     * you would expect it parse, the problem likely lies below. 
-     * 
+     * you would expect it parse, the problem likely lies below.
+     *
      * The following regex patterns control most of the string matching
      * within the parser.
-     * 
+     *
      * The Month name and Day name patterns were automatically generated
-     * and in general should be (mostly) correct. 
+     * and in general should be (mostly) correct.
      *
      * Beyond the month and day name patterns are natural language strings.
      * Example: "next", "today", "months"
      *
-     * These natural language string may NOT be correct for this culture. 
+     * These natural language string may NOT be correct for this culture.
      * If they are not correct, please translate and edit this file
-     * providing the correct regular expression pattern. 
+     * providing the correct regular expression pattern.
      *
      * If you modify this file, please post your revised CultureInfo file
      * to the Datejs Forum located at http://www.datejs.com/forums/.
      *
      * Please mark the subject of the post with [CultureInfo]. Example:
      *    Subject: [CultureInfo] Translated "da-DK" Danish(Denmark)
-     * 
+     *
      * We will add the modified patterns to the master source files.
      *
-     * As well, please review the list of "Future Strings" section below. 
-     */        
+     * As well, please review the list of "Future Strings" section below.
+     */
     regexPatterns: {
         jan: /^ian(.(uarie)?)?/i,
         feb: /^feb(.(ruarie)?)?/i,
@@ -107,12 +107,12 @@ Date.CultureInfo = {
         past: /^last|past|prev(ious)?/i,
         add: /^(\+|aft(er)?|from|hence)/i,
         subtract: /^(\-|bef(ore)?|ago)/i,
-        
+
         yesterday: /^yes(terday)?/i,
         today: /^t(od(ay)?)?/i,
         tomorrow: /^tom(orrow)?/i,
         now: /^n(ow)?/i,
-        
+
         millisecond: /^ms|milli(second)?s?/i,
         second: /^sec(ond)?s?/i,
         minute: /^mn|min(ute)?s?/i,
@@ -121,7 +121,7 @@ Date.CultureInfo = {
         month: /^m(onth)?s?/i,
         day: /^d(ay)?s?/i,
         year: /^y(ear)?s?/i,
-               
+
         shortMeridian: /^(a|p)/i,
         longMeridian: /^(a\.?m?\.?|p\.?m?\.?)/i,
         timezone: /^((e(s|d)t|c(s|d)t|m(s|d)t|p(s|d)t)|((gmt)?\s*(\+|\-)\s*\d\d\d\d?)|gmt|utc)/i,
@@ -135,12 +135,12 @@ Date.CultureInfo = {
 /********************
  ** Future Strings **
  ********************
- * 
- * The following list of strings may not be currently being used, but 
- * may be incorporated into the Datejs library later. 
+ *
+ * The following list of strings may not be currently being used, but
+ * may be incorporated into the Datejs library later.
  *
  * We would appreciate any help translating the strings below.
- * 
+ *
  * If you modify this file, please post your revised CultureInfo file
  * to the Datejs Forum located at http://www.datejs.com/forums/.
  *
@@ -192,4 +192,4 @@ Date.CultureInfo = {
  * end                 end
  * long                long
  * short               short
- */
\ No newline at end of file
+ */
index 3b74198..40232a6 100644 (file)
@@ -3,13 +3,13 @@ Date.CultureInfo = {
     name: "ru-RU",
     englishName: "Russian (Russia)",
     nativeName: "русский (Россия)",
-    
+
     /* Day Name Strings */
     dayNames: ["воскресенье", "понедельник", "вторник", "среда", "четверг", "пятница", "суббота"],
     abbreviatedDayNames: ["Вс", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб"],
     shortestDayNames: ["Вс", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб"],
     firstLetterDayNames: ["В", "П", "В", "С", "Ч", "П", "С"],
-    
+
     /* Month Name Strings */
     monthNames: ["Январь", "Февраль", "Март", "Апрель", "Май", "Июнь", "Июль", "Август", "Сентябрь", "Октябрь", "Ноябрь", "Декабрь"],
     abbreviatedMonthNames: ["янв", "фев", "мар", "апр", "май", "июн", "июл", "авг", "сен", "окт", "ноя", "дек"],
@@ -20,15 +20,15 @@ Date.CultureInfo = {
 
     firstDayOfWeek: 1,
     twoDigitYearMax: 2029,
-    
+
     /**
-     * The dateElementOrder is based on the order of the 
-     * format specifiers in the formatPatterns.DatePattern. 
+     * The dateElementOrder is based on the order of the
+     * format specifiers in the formatPatterns.DatePattern.
      *
      * Example:
      <pre>
      shortDatePattern    dateElementOrder
-     ------------------  ---------------- 
+     ------------------  ----------------
      "M/d/yyyy"          "mdy"
      "dd/MM/yyyy"        "dmy"
      "yyyy-MM-dd"        "ymd"
@@ -39,7 +39,7 @@ Date.CultureInfo = {
      * string being parsed.
      */
     dateElementOrder: "dmy",
-    
+
     /* Standard date and time format patterns */
     formatPatterns: {
         shortDate: "dd.MM.yyyy",
@@ -56,31 +56,31 @@ Date.CultureInfo = {
 
     /**
      * NOTE: If a string format is not parsing correctly, but
-     * you would expect it parse, the problem likely lies below. 
-     * 
+     * you would expect it parse, the problem likely lies below.
+     *
      * The following regex patterns control most of the string matching
      * within the parser.
-     * 
+     *
      * The Month name and Day name patterns were automatically generated
-     * and in general should be (mostly) correct. 
+     * and in general should be (mostly) correct.
      *
      * Beyond the month and day name patterns are natural language strings.
      * Example: "next", "today", "months"
      *
-     * These natural language string may NOT be correct for this culture. 
+     * These natural language string may NOT be correct for this culture.
      * If they are not correct, please translate and edit this file
-     * providing the correct regular expression pattern. 
+     * providing the correct regular expression pattern.
      *
      * If you modify this file, please post your revised CultureInfo file
      * to the Datejs Forum located at http://www.datejs.com/forums/.
      *
      * Please mark the subject of the post with [CultureInfo]. Example:
      *    Subject: [CultureInfo] Translated "da-DK" Danish(Denmark)
-     * 
+     *
      * We will add the modified patterns to the master source files.
      *
-     * As well, please review the list of "Future Strings" section below. 
-     */        
+     * As well, please review the list of "Future Strings" section below.
+     */
     regexPatterns: {
         jan: /^янв(арь)?/i,
         feb: /^фев(раль)?/i,
@@ -107,12 +107,12 @@ Date.CultureInfo = {
         past: /^last|past|prev(ious)?/i,
         add: /^(\+|aft(er)?|from|hence)/i,
         subtract: /^(\-|bef(ore)?|ago)/i,
-        
+
         yesterday: /^yes(terday)?/i,
         today: /^t(od(ay)?)?/i,
         tomorrow: /^tom(orrow)?/i,
         now: /^n(ow)?/i,
-        
+
         millisecond: /^ms|milli(second)?s?/i,
         second: /^sec(ond)?s?/i,
         minute: /^mn|min(ute)?s?/i,
@@ -121,7 +121,7 @@ Date.CultureInfo = {
         month: /^m(onth)?s?/i,
         day: /^d(ay)?s?/i,
         year: /^y(ear)?s?/i,
-               
+
         shortMeridian: /^(a|p)/i,
         longMeridian: /^(a\.?m?\.?|p\.?m?\.?)/i,
         timezone: /^((e(s|d)t|c(s|d)t|m(s|d)t|p(s|d)t)|((gmt)?\s*(\+|\-)\s*\d\d\d\d?)|gmt|utc)/i,
@@ -135,12 +135,12 @@ Date.CultureInfo = {
 /********************
  ** Future Strings **
  ********************
- * 
- * The following list of strings may not be currently being used, but 
- * may be incorporated into the Datejs library later. 
+ *
+ * The following list of strings may not be currently being used, but
+ * may be incorporated into the Datejs library later.
  *
  * We would appreciate any help translating the strings below.
- * 
+ *
  * If you modify this file, please post your revised CultureInfo file
  * to the Datejs Forum located at http://www.datejs.com/forums/.
  *
@@ -192,4 +192,4 @@ Date.CultureInfo = {
  * end                 end
  * long                long
  * short               short
- */
\ No newline at end of file
+ */
index 8d6359c..ac09926 100644 (file)
@@ -3,13 +3,13 @@ Date.CultureInfo = {
     name: "sk-SK",
     englishName: "Slovak (Slovakia)",
     nativeName: "slovenčina (Slovenská republika)",
-    
+
     /* Day Name Strings */
     dayNames: ["nedeľa", "pondelok", "utorok", "streda", "štvrtok", "piatok", "sobota"],
     abbreviatedDayNames: ["ne", "po", "ut", "st", "št", "pi", "so"],
     shortestDayNames: ["ne", "po", "ut", "st", "št", "pi", "so"],
     firstLetterDayNames: ["n", "p", "u", "s", "š", "p", "s"],
-    
+
     /* Month Name Strings */
     monthNames: ["január", "február", "marec", "apríl", "máj", "jún", "júl", "august", "september", "október", "november", "december"],
     abbreviatedMonthNames: ["I", "II", "III", "IV", "V", "VI", "VII", "VIII", "IX", "X", "XI", "XII"],
@@ -20,15 +20,15 @@ Date.CultureInfo = {
 
     firstDayOfWeek: 1,
     twoDigitYearMax: 2029,
-    
+
     /**
-     * The dateElementOrder is based on the order of the 
-     * format specifiers in the formatPatterns.DatePattern. 
+     * The dateElementOrder is based on the order of the
+     * format specifiers in the formatPatterns.DatePattern.
      *
      * Example:
      <pre>
      shortDatePattern    dateElementOrder
-     ------------------  ---------------- 
+     ------------------  ----------------
      "M/d/yyyy"          "mdy"
      "dd/MM/yyyy"        "dmy"
      "yyyy-MM-dd"        "ymd"
@@ -39,7 +39,7 @@ Date.CultureInfo = {
      * string being parsed.
      */
     dateElementOrder: "dmy",
-    
+
     /* Standard date and time format patterns */
     formatPatterns: {
         shortDate: "d. M. yyyy",
@@ -56,31 +56,31 @@ Date.CultureInfo = {
 
     /**
      * NOTE: If a string format is not parsing correctly, but
-     * you would expect it parse, the problem likely lies below. 
-     * 
+     * you would expect it parse, the problem likely lies below.
+     *
      * The following regex patterns control most of the string matching
      * within the parser.
-     * 
+     *
      * The Month name and Day name patterns were automatically generated
-     * and in general should be (mostly) correct. 
+     * and in general should be (mostly) correct.
      *
      * Beyond the month and day name patterns are natural language strings.
      * Example: "next", "today", "months"
      *
-     * These natural language string may NOT be correct for this culture. 
+     * These natural language string may NOT be correct for this culture.
      * If they are not correct, please translate and edit this file
-     * providing the correct regular expression pattern. 
+     * providing the correct regular expression pattern.
      *
      * If you modify this file, please post your revised CultureInfo file
      * to the Datejs Forum located at http://www.datejs.com/forums/.
      *
      * Please mark the subject of the post with [CultureInfo]. Example:
      *    Subject: [CultureInfo] Translated "da-DK" Danish(Denmark)
-     * 
+     *
      * We will add the modified patterns to the master source files.
      *
-     * As well, please review the list of "Future Strings" section below. 
-     */        
+     * As well, please review the list of "Future Strings" section below.
+     */
     regexPatterns: {
         jan: /^január/i,
         feb: /^február/i,
@@ -107,12 +107,12 @@ Date.CultureInfo = {
         past: /^last|past|prev(ious)?/i,
         add: /^(\+|aft(er)?|from|hence)/i,
         subtract: /^(\-|bef(ore)?|ago)/i,
-        
+
         yesterday: /^yes(terday)?/i,
         today: /^t(od(ay)?)?/i,
         tomorrow: /^tom(orrow)?/i,
         now: /^n(ow)?/i,
-        
+
         millisecond: /^ms|milli(second)?s?/i,
         second: /^sec(ond)?s?/i,
         minute: /^mn|min(ute)?s?/i,
@@ -121,7 +121,7 @@ Date.CultureInfo = {
         month: /^m(onth)?s?/i,
         day: /^d(ay)?s?/i,
         year: /^y(ear)?s?/i,
-               
+
         shortMeridian: /^(a|p)/i,
         longMeridian: /^(a\.?m?\.?|p\.?m?\.?)/i,
         timezone: /^((e(s|d)t|c(s|d)t|m(s|d)t|p(s|d)t)|((gmt)?\s*(\+|\-)\s*\d\d\d\d?)|gmt|utc)/i,
@@ -135,12 +135,12 @@ Date.CultureInfo = {
 /********************
  ** Future Strings **
  ********************
- * 
- * The following list of strings may not be currently being used, but 
- * may be incorporated into the Datejs library later. 
+ *
+ * The following list of strings may not be currently being used, but
+ * may be incorporated into the Datejs library later.
  *
  * We would appreciate any help translating the strings below.
- * 
+ *
  * If you modify this file, please post your revised CultureInfo file
  * to the Datejs Forum located at http://www.datejs.com/forums/.
  *
@@ -192,4 +192,4 @@ Date.CultureInfo = {
  * end                 end
  * long                long
  * short               short
- */
\ No newline at end of file
+ */
index 901e00f..0a8e461 100644 (file)
@@ -3,13 +3,13 @@ Date.CultureInfo = {
     name: "sl-SI",
     englishName: "Slovenian (Slovenia)",
     nativeName: "slovenski (Slovenija)",
-    
+
     /* Day Name Strings */
     dayNames: ["nedelja", "ponedeljek", "torek", "sreda", "četrtek", "petek", "sobota"],
     abbreviatedDayNames: ["ned", "pon", "tor", "sre", "čet", "pet", "sob"],
     shortestDayNames: ["ne", "po", "to", "sr", "če", "pe", "so"],
     firstLetterDayNames: ["n", "p", "t", "s", "č", "p", "s"],
-    
+
     /* Month Name Strings */
     monthNames: ["januar", "februar", "marec", "april", "maj", "junij", "julij", "avgust", "september", "oktober", "november", "december"],
     abbreviatedMonthNames: ["jan", "feb", "mar", "apr", "maj", "jun", "jul", "avg", "sep", "okt", "nov", "dec"],
@@ -20,15 +20,15 @@ Date.CultureInfo = {
 
     firstDayOfWeek: 1,
     twoDigitYearMax: 2029,
-    
+
     /**
-     * The dateElementOrder is based on the order of the 
-     * format specifiers in the formatPatterns.DatePattern. 
+     * The dateElementOrder is based on the order of the
+     * format specifiers in the formatPatterns.DatePattern.
      *
      * Example:
      <pre>
      shortDatePattern    dateElementOrder
-     ------------------  ---------------- 
+     ------------------  ----------------
      "M/d/yyyy"          "mdy"
      "dd/MM/yyyy"        "dmy"
      "yyyy-MM-dd"        "ymd"
@@ -39,7 +39,7 @@ Date.CultureInfo = {
      * string being parsed.
      */
     dateElementOrder: "dmy",
-    
+
     /* Standard date and time format patterns */
     formatPatterns: {
         shortDate: "d.M.yyyy",
@@ -56,31 +56,31 @@ Date.CultureInfo = {
 
     /**
      * NOTE: If a string format is not parsing correctly, but
-     * you would expect it parse, the problem likely lies below. 
-     * 
+     * you would expect it parse, the problem likely lies below.
+     *
      * The following regex patterns control most of the string matching
      * within the parser.
-     * 
+     *
      * The Month name and Day name patterns were automatically generated
-     * and in general should be (mostly) correct. 
+     * and in general should be (mostly) correct.
      *
      * Beyond the month and day name patterns are natural language strings.
      * Example: "next", "today", "months"
      *
-     * These natural language string may NOT be correct for this culture. 
+     * These natural language string may NOT be correct for this culture.
      * If they are not correct, please translate and edit this file
-     * providing the correct regular expression pattern. 
+     * providing the correct regular expression pattern.
      *
      * If you modify this file, please post your revised CultureInfo file
      * to the Datejs Forum located at http://www.datejs.com/forums/.
      *
      * Please mark the subject of the post with [CultureInfo]. Example:
      *    Subject: [CultureInfo] Translated "da-DK" Danish(Denmark)
-     * 
+     *
      * We will add the modified patterns to the master source files.
      *
-     * As well, please review the list of "Future Strings" section below. 
-     */        
+     * As well, please review the list of "Future Strings" section below.
+     */
     regexPatterns: {
         jan: /^jan(uar)?/i,
         feb: /^feb(ruar)?/i,
@@ -107,12 +107,12 @@ Date.CultureInfo = {
         past: /^last|past|prev(ious)?/i,
         add: /^(\+|aft(er)?|from|hence)/i,
         subtract: /^(\-|bef(ore)?|ago)/i,
-        
+
         yesterday: /^yes(terday)?/i,
         today: /^t(od(ay)?)?/i,
         tomorrow: /^tom(orrow)?/i,
         now: /^n(ow)?/i,
-        
+
         millisecond: /^ms|milli(second)?s?/i,
         second: /^sec(ond)?s?/i,
         minute: /^mn|min(ute)?s?/i,
@@ -121,7 +121,7 @@ Date.CultureInfo = {
         month: /^m(onth)?s?/i,
         day: /^d(ay)?s?/i,
         year: /^y(ear)?s?/i,
-               
+
         shortMeridian: /^(a|p)/i,
         longMeridian: /^(a\.?m?\.?|p\.?m?\.?)/i,
         timezone: /^((e(s|d)t|c(s|d)t|m(s|d)t|p(s|d)t)|((gmt)?\s*(\+|\-)\s*\d\d\d\d?)|gmt|utc)/i,
@@ -135,12 +135,12 @@ Date.CultureInfo = {
 /********************
  ** Future Strings **
  ********************
- * 
- * The following list of strings may not be currently being used, but 
- * may be incorporated into the Datejs library later. 
+ *
+ * The following list of strings may not be currently being used, but
+ * may be incorporated into the Datejs library later.
  *
  * We would appreciate any help translating the strings below.
- * 
+ *
  * If you modify this file, please post your revised CultureInfo file
  * to the Datejs Forum located at http://www.datejs.com/forums/.
  *
@@ -192,4 +192,4 @@ Date.CultureInfo = {
  * end                 end
  * long                long
  * short               short
- */
\ No newline at end of file
+ */
index 1de6318..94010e9 100644 (file)
@@ -3,13 +3,13 @@ Date.CultureInfo = {
     name: "sv-SE",
     englishName: "Swedish (Sweden)",
     nativeName: "svenska (Sverige)",
-    
+
     /* Day Name Strings */
     dayNames: ["söndag", "måndag", "tisdag", "onsdag", "torsdag", "fredag", "lördag"],
     abbreviatedDayNames: ["sö", "må", "ti", "on", "to", "fr", "lö"],
     shortestDayNames: ["sö", "må", "ti", "on", "to", "fr", "lö"],
     firstLetterDayNames: ["s", "m", "t", "o", "t", "f", "l"],
-    
+
     /* Month Name Strings */
     monthNames: ["januari", "februari", "mars", "april", "maj", "juni", "juli", "augusti", "september", "oktober", "november", "december"],
     abbreviatedMonthNames: ["jan", "feb", "mar", "apr", "maj", "jun", "jul", "aug", "sep", "okt", "nov", "dec"],
@@ -20,15 +20,15 @@ Date.CultureInfo = {
 
     firstDayOfWeek: 1,
     twoDigitYearMax: 2029,
-    
+
     /**
-     * The dateElementOrder is based on the order of the 
-     * format specifiers in the formatPatterns.DatePattern. 
+     * The dateElementOrder is based on the order of the
+     * format specifiers in the formatPatterns.DatePattern.
      *
      * Example:
      <pre>
      shortDatePattern    dateElementOrder
-     ------------------  ---------------- 
+     ------------------  ----------------
      "M/d/yyyy"          "mdy"
      "dd/MM/yyyy"        "dmy"
      "yyyy-MM-dd"        "ymd"
@@ -39,7 +39,7 @@ Date.CultureInfo = {
      * string being parsed.
      */
     dateElementOrder: "ymd",
-    
+
     /* Standard date and time format patterns */
     formatPatterns: {
         shortDate: "yyyy-MM-dd",
@@ -56,31 +56,31 @@ Date.CultureInfo = {
 
     /**
      * NOTE: If a string format is not parsing correctly, but
-     * you would expect it parse, the problem likely lies below. 
-     * 
+     * you would expect it parse, the problem likely lies below.
+     *
      * The following regex patterns control most of the string matching
      * within the parser.
-     * 
+     *
      * The Month name and Day name patterns were automatically generated
-     * and in general should be (mostly) correct. 
+     * and in general should be (mostly) correct.
      *
      * Beyond the month and day name patterns are natural language strings.
      * Example: "next", "today", "months"
      *
-     * These natural language string may NOT be correct for this culture. 
+     * These natural language string may NOT be correct for this culture.
      * If they are not correct, please translate and edit this file
-     * providing the correct regular expression pattern. 
+     * providing the correct regular expression pattern.
      *
      * If you modify this file, please post your revised CultureInfo file
      * to the Datejs Forum located at http://www.datejs.com/forums/.
      *
      * Please mark the subject of the post with [CultureInfo]. Example:
      *    Subject: [CultureInfo] Translated "da-DK" Danish(Denmark)
-     * 
+     *
      * We will add the modified patterns to the master source files.
      *
-     * As well, please review the list of "Future Strings" section below. 
-     */        
+     * As well, please review the list of "Future Strings" section below.
+     */
     regexPatterns: {
         jan: /^jan(uari)?/i,
         feb: /^feb(ruari)?/i,
@@ -107,12 +107,12 @@ Date.CultureInfo = {
         past: /^last|past|prev(ious)?/i,
         add: /^(\+|aft(er)?|from|hence)/i,
         subtract: /^(\-|bef(ore)?|ago)/i,
-        
+
         yesterday: /^yes(terday)?/i,
         today: /^t(od(ay)?)?/i,
         tomorrow: /^tom(orrow)?/i,
         now: /^n(ow)?/i,
-        
+
         millisecond: /^ms|milli(second)?s?/i,
         second: /^sec(ond)?s?/i,
         minute: /^mn|min(ute)?s?/i,
@@ -121,7 +121,7 @@ Date.CultureInfo = {
         month: /^m(onth)?s?/i,
         day: /^d(ay)?s?/i,
         year: /^y(ear)?s?/i,
-               
+
         shortMeridian: /^(a|p)/i,
         longMeridian: /^(a\.?m?\.?|p\.?m?\.?)/i,
         timezone: /^((e(s|d)t|c(s|d)t|m(s|d)t|p(s|d)t)|((gmt)?\s*(\+|\-)\s*\d\d\d\d?)|gmt|utc)/i,
@@ -135,12 +135,12 @@ Date.CultureInfo = {
 /********************
  ** Future Strings **
  ********************
- * 
- * The following list of strings may not be currently being used, but 
- * may be incorporated into the Datejs library later. 
+ *
+ * The following list of strings may not be currently being used, but
+ * may be incorporated into the Datejs library later.
  *
  * We would appreciate any help translating the strings below.
- * 
+ *
  * If you modify this file, please post your revised CultureInfo file
  * to the Datejs Forum located at http://www.datejs.com/forums/.
  *
@@ -192,4 +192,4 @@ Date.CultureInfo = {
  * end                 end
  * long                long
  * short               short
- */
\ No newline at end of file
+ */
index 237597c..ea98b2b 100644 (file)
@@ -27,6 +27,6 @@ function removeTag(resource, type, tagid, endpoint)
                          parameters: params
                      }
     );
-    
+
     return true;
 }
index d8d86db..15b24fe 100644 (file)
@@ -3,31 +3,31 @@
  * @author: Coolite Inc. http://www.coolite.com/
  * @date: 2008-04-13
  * @copyright: Copyright (c) 2006-2008, Coolite Inc. (http://www.coolite.com/). All rights reserved.
- * @license: Licensed under The MIT License. See license.txt and http://www.datejs.com/license/. 
+ * @license: Licensed under The MIT License. See license.txt and http://www.datejs.com/license/.
  * @website: http://www.datejs.com/
  */
-/* 
+
+/*
  * TimeSpan(milliseconds);
  * TimeSpan(days, hours, minutes, seconds);
  * TimeSpan(days, hours, minutes, seconds, milliseconds);
  */
 var TimeSpan = function (days, hours, minutes, seconds, milliseconds) {
     var attrs = "days hours minutes seconds milliseconds".split(/\s+/);
-    
-    var gFn = function (attr) { 
-        return function () { 
-            return this[attr]; 
-        }; 
+
+    var gFn = function (attr) {
+        return function () {
+            return this[attr];
+        };
     };
-       
-    var sFn = function (attr) { 
-        return function (val) { 
-            this[attr] = val; 
-            return this; 
-        }; 
+
+    var sFn = function (attr) {
+        return function (val) {
+            this[attr] = val;
+            return this;
+        };
     };
-       
+
     for (var i = 0; i < attrs.length ; i++) {
         var $a = attrs[i], $b = $a.slice(0, 1).toUpperCase() + $a.slice(1);
         TimeSpan.prototype[$a] = 0;
@@ -35,21 +35,21 @@ var TimeSpan = function (days, hours, minutes, seconds, milliseconds) {
         TimeSpan.prototype["set" + $b] = sFn($a);
     }
 
-    if (arguments.length == 4) { 
-        this.setDays(days); 
-        this.setHours(hours); 
-        this.setMinutes(minutes); 
-        this.setSeconds(seconds); 
-    } else if (arguments.length == 5) { 
-        this.setDays(days); 
-        this.setHours(hours); 
-        this.setMinutes(minutes); 
-        this.setSeconds(seconds); 
-        this.setMilliseconds(milliseconds); 
+    if (arguments.length == 4) {
+        this.setDays(days);
+        this.setHours(hours);
+        this.setMinutes(minutes);
+        this.setSeconds(seconds);
+    } else if (arguments.length == 5) {
+        this.setDays(days);
+        this.setHours(hours);
+        this.setMinutes(minutes);
+        this.setSeconds(seconds);
+        this.setMilliseconds(milliseconds);
     } else if (arguments.length == 1 && typeof days == "number") {
         var orient = (days < 0) ? -1 : +1;
         this.setMilliseconds(Math.abs(days));
-        
+
         this.setDays(Math.floor(this.getMilliseconds() / 86400000) * orient);
         this.setMilliseconds(this.getMilliseconds() % 86400000);
 
@@ -66,13 +66,13 @@ var TimeSpan = function (days, hours, minutes, seconds, milliseconds) {
     }
 
     this.getTotalMilliseconds = function () {
-        return (this.getDays() * 86400000) + (this.getHours() * 3600000) + (this.getMinutes() * 60000) + (this.getSeconds() * 1000); 
+        return (this.getDays() * 86400000) + (this.getHours() * 3600000) + (this.getMinutes() * 60000) + (this.getSeconds() * 1000);
     };
-    
+
     this.compareTo = function (time) {
         var t1 = new Date(1970, 1, 1, this.getHours(), this.getMinutes(), this.getSeconds()), t2;
-        if (time === null) { 
-            t2 = new Date(1970, 1, 1, 0, 0, 0); 
+        if (time === null) {
+            t2 = new Date(1970, 1, 1, 0, 0, 0);
         }
         else {
             t2 = new Date(1970, 1, 1, time.getHours(), time.getMinutes(), time.getSeconds());
@@ -82,41 +82,41 @@ var TimeSpan = function (days, hours, minutes, seconds, milliseconds) {
 
     this.equals = function (time) {
         return (this.compareTo(time) === 0);
-    };    
+    };
 
-    this.add = function (time) { 
-        return (time === null) ? this : this.addSeconds(time.getTotalMilliseconds() / 1000); 
+    this.add = function (time) {
+        return (time === null) ? this : this.addSeconds(time.getTotalMilliseconds() / 1000);
     };
 
-    this.subtract = function (time) { 
-        return (time === null) ? this : this.addSeconds(-time.getTotalMilliseconds() / 1000); 
+    this.subtract = function (time) {
+        return (time === null) ? this : this.addSeconds(-time.getTotalMilliseconds() / 1000);
     };
 
-    this.addDays = function (n) { 
-        return new TimeSpan(this.getTotalMilliseconds() + (n * 86400000)); 
+    this.addDays = function (n) {
+        return new TimeSpan(this.getTotalMilliseconds() + (n * 86400000));
     };
 
-    this.addHours = function (n) { 
-        return new TimeSpan(this.getTotalMilliseconds() + (n * 3600000)); 
+    this.addHours = function (n) {
+        return new TimeSpan(this.getTotalMilliseconds() + (n * 3600000));
     };
 
-    this.addMinutes = function (n) { 
-        return new TimeSpan(this.getTotalMilliseconds() + (n * 60000)); 
+    this.addMinutes = function (n) {
+        return new TimeSpan(this.getTotalMilliseconds() + (n * 60000));
     };
 
     this.addSeconds = function (n) {
-        return new TimeSpan(this.getTotalMilliseconds() + (n * 1000)); 
+        return new TimeSpan(this.getTotalMilliseconds() + (n * 1000));
     };
 
     this.addMilliseconds = function (n) {
-        return new TimeSpan(this.getTotalMilliseconds() + n); 
+        return new TimeSpan(this.getTotalMilliseconds() + n);
     };
 
     this.get12HourHour = function () {
         return (this.getHours() > 12) ? this.getHours() - 12 : (this.getHours() === 0) ? 12 : this.getHours();
     };
 
-    this.getDesignator = function () { 
+    this.getDesignator = function () {
         return (this.getHours() < 12) ? Date.CultureInfo.amDesignator : Date.CultureInfo.pmDesignator;
     };
 
@@ -125,106 +125,106 @@ var TimeSpan = function (days, hours, minutes, seconds, milliseconds) {
             if (this.getDays() !== null && this.getDays() > 0) {
                 return this.getDays() + "." + this.getHours() + ":" + this.p(this.getMinutes()) + ":" + this.p(this.getSeconds());
             }
-            else { 
+            else {
                 return this.getHours() + ":" + this.p(this.getMinutes()) + ":" + this.p(this.getSeconds());
             }
         };
-        
+
         this.p = function (s) {
             return (s.toString().length < 2) ? "0" + s : s;
         };
-        
+
         var me = this;
-        
-        return format ? format.replace(/dd?|HH?|hh?|mm?|ss?|tt?/g, 
+
+        return format ? format.replace(/dd?|HH?|hh?|mm?|ss?|tt?/g,
         function (format) {
             switch (format) {
-            case "d":  
+            case "d":
                 return me.getDays();
-            case "dd": 
+            case "dd":
                 return me.p(me.getDays());
-            case "H":  
+            case "H":
                 return me.getHours();
-            case "HH": 
+            case "HH":
                 return me.p(me.getHours());
-            case "h":  
+            case "h":
                 return me.get12HourHour();
-            case "hh": 
+            case "hh":
                 return me.p(me.get12HourHour());
-            case "m":  
+            case "m":
                 return me.getMinutes();
-            case "mm": 
+            case "mm":
                 return me.p(me.getMinutes());
-            case "s":  
+            case "s":
                 return me.getSeconds();
-            case "ss": 
+            case "ss":
                 return me.p(me.getSeconds());
-            case "t":  
+            case "t":
                 return ((me.getHours() < 12) ? Date.CultureInfo.amDesignator : Date.CultureInfo.pmDesignator).substring(0, 1);
-            case "tt": 
+            case "tt":
                 return (me.getHours() < 12) ? Date.CultureInfo.amDesignator : Date.CultureInfo.pmDesignator;
             }
         }
         ) : this._toString();
     };
     return this;
-};    
+};
 
 /**
- * Gets the time of day for this date instances. 
+ * Gets the time of day for this date instances.
  * @return {TimeSpan} TimeSpan
  */
 Date.prototype.getTimeOfDay = function () {
     return new TimeSpan(0, this.getHours(), this.getMinutes(), this.getSeconds(), this.getMilliseconds());
 };
 
-/* 
+/*
  * TimePeriod(startDate, endDate);
  * TimePeriod(years, months, days, hours, minutes, seconds, milliseconds);
  */
 var TimePeriod = function (years, months, days, hours, minutes, seconds, milliseconds) {
     var attrs = "years months days hours minutes seconds milliseconds".split(/\s+/);
-    
-    var gFn = function (attr) { 
-        return function () { 
-            return this[attr]; 
-        }; 
+
+    var gFn = function (attr) {
+        return function () {
+            return this[attr];
+        };
     };
-       
-    var sFn = function (attr) { 
-        return function (val) { 
-            this[attr] = val; 
-            return this; 
-        }; 
+
+    var sFn = function (attr) {
+        return function (val) {
+            this[attr] = val;
+            return this;
+        };
     };
-       
+
     for (var i = 0; i < attrs.length ; i++) {
         var $a = attrs[i], $b = $a.slice(0, 1).toUpperCase() + $a.slice(1);
         TimePeriod.prototype[$a] = 0;
         TimePeriod.prototype["get" + $b] = gFn($a);
         TimePeriod.prototype["set" + $b] = sFn($a);
     }
-    
-    if (arguments.length == 7) { 
+
+    if (arguments.length == 7) {
         this.years = years;
         this.months = months;
         this.setDays(days);
-        this.setHours(hours); 
-        this.setMinutes(minutes); 
-        this.setSeconds(seconds); 
+        this.setHours(hours);
+        this.setMinutes(minutes);
+        this.setSeconds(seconds);
         this.setMilliseconds(milliseconds);
     } else if (arguments.length == 2 && arguments[0] instanceof Date && arguments[1] instanceof Date) {
         // startDate and endDate as arguments
-    
+
         var d1 = years.clone();
         var d2 = months.clone();
-    
+
         var temp = d1.clone();
         var orient = (d1 > d2) ? -1 : +1;
-        
+
         this.years = d2.getFullYear() - d1.getFullYear();
         temp.addYears(this.years);
-        
+
         if (orient == +1) {
             if (temp > d2) {
                 if (this.years !== 0) {
@@ -238,7 +238,7 @@ var TimePeriod = function (years, months, days, hours, minutes, seconds, millise
                 }
             }
         }
-        
+
         d1.addYears(this.years);
 
         if (orient == +1) {
@@ -253,7 +253,7 @@ var TimePeriod = function (years, months, days, hours, minutes, seconds, millise
                 this.months--;
             }
         }
-        
+
         var diff = d2 - d1;
 
         if (diff !== 0) {
@@ -266,4 +266,4 @@ var TimePeriod = function (years, months, days, hours, minutes, seconds, millise
         }
     }
     return this;
-};
\ No newline at end of file
+};
index 4018c2f..4b4b650 100644 (file)
@@ -3,13 +3,13 @@ Date.CultureInfo = {
     name: "tr-TR",
     englishName: "Turkish (Turkey)",
     nativeName: "Türkçe (Türkiye)",
-    
+
     /* Day Name Strings */
     dayNames: ["Pazar", "Pazartesi", "Salı", "Çarşamba", "Perşembe", "Cuma", "Cumartesi"],
     abbreviatedDayNames: ["Paz", "Pzt", "Sal", "Çar", "Per", "Cum", "Cmt"],
     shortestDayNames: ["Pz", "Pt", "Sa", "Ça", "Pe", "Cu", "Ct"],
     firstLetterDayNames: ["P", "P", "S", "Ç", "P", "C", "C"],
-    
+
     /* Month Name Strings */
     monthNames: ["Ocak", "Şubat", "Mart", "Nisan", "Mayıs", "Haziran", "Temmuz", "Ağustos", "Eylül", "Ekim", "Kasım", "Aralık"],
     abbreviatedMonthNames: ["Oca", "Şub", "Mar", "Nis", "May", "Haz", "Tem", "Ağu", "Eyl", "Eki", "Kas", "Ara"],
@@ -20,15 +20,15 @@ Date.CultureInfo = {
 
     firstDayOfWeek: 1,
     twoDigitYearMax: 2029,
-    
+
     /**
-     * The dateElementOrder is based on the order of the 
-     * format specifiers in the formatPatterns.DatePattern. 
+     * The dateElementOrder is based on the order of the
+     * format specifiers in the formatPatterns.DatePattern.
      *
      * Example:
      <pre>
      shortDatePattern    dateElementOrder
-     ------------------  ---------------- 
+     ------------------  ----------------
      "M/d/yyyy"          "mdy"
      "dd/MM/yyyy"        "dmy"
      "yyyy-MM-dd"        "ymd"
@@ -39,7 +39,7 @@ Date.CultureInfo = {
      * string being parsed.
      */
     dateElementOrder: "dmy",
-    
+
     /* Standard date and time format patterns */
     formatPatterns: {
         shortDate: "dd.MM.yyyy",
@@ -56,31 +56,31 @@ Date.CultureInfo = {
 
     /**
      * NOTE: If a string format is not parsing correctly, but
-     * you would expect it parse, the problem likely lies below. 
-     * 
+     * you would expect it parse, the problem likely lies below.
+     *
      * The following regex patterns control most of the string matching
      * within the parser.
-     * 
+     *
      * The Month name and Day name patterns were automatically generated
-     * and in general should be (mostly) correct. 
+     * and in general should be (mostly) correct.
      *
      * Beyond the month and day name patterns are natural language strings.
      * Example: "next", "today", "months"
      *
-     * These natural language string may NOT be correct for this culture. 
+     * These natural language string may NOT be correct for this culture.
      * If they are not correct, please translate and edit this file
-     * providing the correct regular expression pattern. 
+     * providing the correct regular expression pattern.
      *
      * If you modify this file, please post your revised CultureInfo file
      * to the Datejs Forum located at http://www.datejs.com/forums/.
      *
      * Please mark the subject of the post with [CultureInfo]. Example:
      *    Subject: [CultureInfo] Translated "da-DK" Danish(Denmark)
-     * 
+     *
      * We will add the modified patterns to the master source files.
      *
-     * As well, please review the list of "Future Strings" section below. 
-     */        
+     * As well, please review the list of "Future Strings" section below.
+     */
     regexPatterns: {
         jan: /^oca(k)?/i,
         feb: /^şub(at)?/i,
@@ -107,12 +107,12 @@ Date.CultureInfo = {
         past: /^last|past|prev(ious)?/i,
         add: /^(\+|aft(er)?|from|hence)/i,
         subtract: /^(\-|bef(ore)?|ago)/i,
-        
+
         yesterday: /^yes(terday)?/i,
         today: /^t(od(ay)?)?/i,
         tomorrow: /^tom(orrow)?/i,
         now: /^n(ow)?/i,
-        
+
         millisecond: /^ms|milli(second)?s?/i,
         second: /^sec(ond)?s?/i,
         minute: /^mn|min(ute)?s?/i,
@@ -121,7 +121,7 @@ Date.CultureInfo = {
         month: /^m(onth)?s?/i,
         day: /^d(ay)?s?/i,
         year: /^y(ear)?s?/i,
-               
+
         shortMeridian: /^(a|p)/i,
         longMeridian: /^(a\.?m?\.?|p\.?m?\.?)/i,
         timezone: /^((e(s|d)t|c(s|d)t|m(s|d)t|p(s|d)t)|((gmt)?\s*(\+|\-)\s*\d\d\d\d?)|gmt|utc)/i,
@@ -135,12 +135,12 @@ Date.CultureInfo = {
 /********************
  ** Future Strings **
  ********************
- * 
- * The following list of strings may not be currently being used, but 
- * may be incorporated into the Datejs library later. 
+ *
+ * The following list of strings may not be currently being used, but
+ * may be incorporated into the Datejs library later.
  *
  * We would appreciate any help translating the strings below.
- * 
+ *
  * If you modify this file, please post your revised CultureInfo file
  * to the Datejs Forum located at http://www.datejs.com/forums/.
  *
@@ -192,4 +192,4 @@ Date.CultureInfo = {
  * end                 end
  * long                long
  * short               short
- */
\ No newline at end of file
+ */
index 246c121..b0b9d38 100644 (file)
@@ -3,13 +3,13 @@ Date.CultureInfo = {
     name: "uk-UA",
     englishName: "Ukrainian (Ukraine)",
     nativeName: "україньска (Україна)",
-    
+
     /* Day Name Strings */
     dayNames: ["неділя", "понеділок", "вівторок", "середа", "четвер", "п'ятниця", "субота"],
     abbreviatedDayNames: ["Нд", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб"],
     shortestDayNames: ["Нд", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб"],
     firstLetterDayNames: ["Н", "П", "В", "С", "Ч", "П", "С"],
-    
+
     /* Month Name Strings */
     monthNames: ["Січень", "Лютий", "Березень", "Квітень", "Травень", "Червень", "Липень", "Серпень", "Вересень", "Жовтень", "Листопад", "Грудень"],
     abbreviatedMonthNames: ["Січ", "Лют", "Бер", "Кві", "Тра", "Чер", "Лип", "Сер", "Вер", "Жов", "Лис", "Гру"],
@@ -20,15 +20,15 @@ Date.CultureInfo = {
 
     firstDayOfWeek: 1,
     twoDigitYearMax: 2029,
-    
+
     /**
-     * The dateElementOrder is based on the order of the 
-     * format specifiers in the formatPatterns.DatePattern. 
+     * The dateElementOrder is based on the order of the
+     * format specifiers in the formatPatterns.DatePattern.
      *
      * Example:
      <pre>
      shortDatePattern    dateElementOrder
-     ------------------  ---------------- 
+     ------------------  ----------------
      "M/d/yyyy"          "mdy"
      "dd/MM/yyyy"        "dmy"
      "yyyy-MM-dd"        "ymd"
@@ -39,7 +39,7 @@ Date.CultureInfo = {
      * string being parsed.
      */
     dateElementOrder: "dmy",
-    
+
     /* Standard date and time format patterns */
     formatPatterns: {
         shortDate: "dd.MM.yyyy",
@@ -56,31 +56,31 @@ Date.CultureInfo = {
 
     /**
      * NOTE: If a string format is not parsing correctly, but
-     * you would expect it parse, the problem likely lies below. 
-     * 
+     * you would expect it parse, the problem likely lies below.
+     *
      * The following regex patterns control most of the string matching
      * within the parser.
-     * 
+     *
      * The Month name and Day name patterns were automatically generated
-     * and in general should be (mostly) correct. 
+     * and in general should be (mostly) correct.
      *
      * Beyond the month and day name patterns are natural language strings.
      * Example: "next", "today", "months"
      *
-     * These natural language string may NOT be correct for this culture. 
+     * These natural language string may NOT be correct for this culture.
      * If they are not correct, please translate and edit this file
-     * providing the correct regular expression pattern. 
+     * providing the correct regular expression pattern.
      *
      * If you modify this file, please post your revised CultureInfo file
      * to the Datejs Forum located at http://www.datejs.com/forums/.
      *
      * Please mark the subject of the post with [CultureInfo]. Example:
      *    Subject: [CultureInfo] Translated "da-DK" Danish(Denmark)
-     * 
+     *
      * We will add the modified patterns to the master source files.
      *
-     * As well, please review the list of "Future Strings" section below. 
-     */        
+     * As well, please review the list of "Future Strings" section below.
+     */
     regexPatterns: {
         jan: /^січ(ень)?/i,
         feb: /^лют(ий)?/i,
@@ -107,12 +107,12 @@ Date.CultureInfo = {
         past: /^last|past|prev(ious)?/i,
         add: /^(\+|aft(er)?|from|hence)/i,
         subtract: /^(\-|bef(ore)?|ago)/i,
-        
+
         yesterday: /^yes(terday)?/i,
         today: /^t(od(ay)?)?/i,
         tomorrow: /^tom(orrow)?/i,
         now: /^n(ow)?/i,
-        
+
         millisecond: /^ms|milli(second)?s?/i,
         second: /^sec(ond)?s?/i,
         minute: /^mn|min(ute)?s?/i,
@@ -121,7 +121,7 @@ Date.CultureInfo = {
         month: /^m(onth)?s?/i,
         day: /^d(ay)?s?/i,
         year: /^y(ear)?s?/i,
-               
+
         shortMeridian: /^(a|p)/i,
         longMeridian: /^(a\.?m?\.?|p\.?m?\.?)/i,
         timezone: /^((e(s|d)t|c(s|d)t|m(s|d)t|p(s|d)t)|((gmt)?\s*(\+|\-)\s*\d\d\d\d?)|gmt|utc)/i,
@@ -135,12 +135,12 @@ Date.CultureInfo = {
 /********************
  ** Future Strings **
  ********************
- * 
- * The following list of strings may not be currently being used, but 
- * may be incorporated into the Datejs library later. 
+ *
+ * The following list of strings may not be currently being used, but
+ * may be incorporated into the Datejs library later.
  *
  * We would appreciate any help translating the strings below.
- * 
+ *
  * If you modify this file, please post your revised CultureInfo file
  * to the Datejs Forum located at http://www.datejs.com/forums/.
  *
@@ -192,4 +192,4 @@ Date.CultureInfo = {
  * end                 end
  * long                long
  * short               short
- */
\ No newline at end of file
+ */
index 8dac669..941f57f 100644 (file)
@@ -3,13 +3,13 @@ Date.CultureInfo = {
     name: "zh-CN",
     englishName: "Chinese (People's Republic of China)",
     nativeName: "中文(中华人民共和国)",
-    
+
     /* Day Name Strings */
     dayNames: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"],
     abbreviatedDayNames: ["日", "一", "二", "三", "四", "五", "六"],
     shortestDayNames: ["日", "一", "二", "三", "四", "五", "六"],
     firstLetterDayNames: ["日", "一", "二", "三", "四", "五", "六"],
-    
+
     /* Month Name Strings */
     monthNames: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"],
     abbreviatedMonthNames: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"],
@@ -20,15 +20,15 @@ Date.CultureInfo = {
 
     firstDayOfWeek: 0,
     twoDigitYearMax: 2029,
-    
+
     /**
-     * The dateElementOrder is based on the order of the 
-     * format specifiers in the formatPatterns.DatePattern. 
+     * The dateElementOrder is based on the order of the
+     * format specifiers in the formatPatterns.DatePattern.
      *
      * Example:
      <pre>
      shortDatePattern    dateElementOrder
-     ------------------  ---------------- 
+     ------------------  ----------------
      "M/d/yyyy"          "mdy"
      "dd/MM/yyyy"        "dmy"
      "yyyy-MM-dd"        "ymd"
@@ -39,7 +39,7 @@ Date.CultureInfo = {
      * string being parsed.
      */
     dateElementOrder: "ymd",
-    
+
     /* Standard date and time format patterns */
     formatPatterns: {
         shortDate: "yyyy/M/d",
@@ -56,31 +56,31 @@ Date.CultureInfo = {
 
     /**
      * NOTE: If a string format is not parsing correctly, but
-     * you would expect it parse, the problem likely lies below. 
-     * 
+     * you would expect it parse, the problem likely lies below.
+     *
      * The following regex patterns control most of the string matching
      * within the parser.
-     * 
+     *
      * The Month name and Day name patterns were automatically generated
-     * and in general should be (mostly) correct. 
+     * and in general should be (mostly) correct.
      *
      * Beyond the month and day name patterns are natural language strings.
      * Example: "next", "today", "months"
      *
-     * These natural language string may NOT be correct for this culture. 
+     * These natural language string may NOT be correct for this culture.
      * If they are not correct, please translate and edit this file
-     * providing the correct regular expression pattern. 
+     * providing the correct regular expression pattern.
      *
      * If you modify this file, please post your revised CultureInfo file
      * to the Datejs Forum located at http://www.datejs.com/forums/.
      *
      * Please mark the subject of the post with [CultureInfo]. Example:
      *    Subject: [CultureInfo] Translated "da-DK" Danish(Denmark)
-     * 
+     *
      * We will add the modified patterns to the master source files.
      *
-     * As well, please review the list of "Future Strings" section below. 
-     */        
+     * As well, please review the list of "Future Strings" section below.
+     */
     regexPatterns: {
         jan: /^一月/i,
         feb: /^二月/i,
@@ -107,12 +107,12 @@ Date.CultureInfo = {
         past: /^last|past|prev(ious)?/i,
         add: /^(\+|aft(er)?|from|hence)/i,
         subtract: /^(\-|bef(ore)?|ago)/i,
-        
+
         yesterday: /^yes(terday)?/i,
         today: /^t(od(ay)?)?/i,
         tomorrow: /^tom(orrow)?/i,
         now: /^n(ow)?/i,
-        
+
         millisecond: /^ms|milli(second)?s?/i,
         second: /^sec(ond)?s?/i,
         minute: /^mn|min(ute)?s?/i,
@@ -121,7 +121,7 @@ Date.CultureInfo = {
         month: /^m(onth)?s?/i,
         day: /^d(ay)?s?/i,
         year: /^y(ear)?s?/i,
-               
+
         shortMeridian: /^(a|p)/i,
         longMeridian: /^(a\.?m?\.?|p\.?m?\.?)/i,
         timezone: /^((e(s|d)t|c(s|d)t|m(s|d)t|p(s|d)t)|((gmt)?\s*(\+|\-)\s*\d\d\d\d?)|gmt|utc)/i,
@@ -135,12 +135,12 @@ Date.CultureInfo = {
 /********************
  ** Future Strings **
  ********************
- * 
- * The following list of strings may not be currently being used, but 
- * may be incorporated into the Datejs library later. 
+ *
+ * The following list of strings may not be currently being used, but
+ * may be incorporated into the Datejs library later.
  *
  * We would appreciate any help translating the strings below.
- * 
+ *
  * If you modify this file, please post your revised CultureInfo file
  * to the Datejs Forum located at http://www.datejs.com/forums/.
  *
@@ -192,4 +192,4 @@ Date.CultureInfo = {
  * end                 end
  * long                long
  * short               short
- */
\ No newline at end of file
+ */
index 3e54de9..01b222c 100644 (file)
@@ -3,13 +3,13 @@ Date.CultureInfo = {
     name: "zh-TW",
     englishName: "Chinese (Taiwan)",
     nativeName: "中文(台灣)",
-    
+
     /* Day Name Strings */
     dayNames: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"],
     abbreviatedDayNames: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"],
     shortestDayNames: ["日", "一", "二", "三", "四", "五", "六"],
     firstLetterDayNames: ["日", "一", "二", "三", "四", "五", "六"],
-    
+
     /* Month Name Strings */
     monthNames: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"],
     abbreviatedMonthNames: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"],
@@ -20,15 +20,15 @@ Date.CultureInfo = {
 
     firstDayOfWeek: 0,
     twoDigitYearMax: 2029,
-    
+
     /**
-     * The dateElementOrder is based on the order of the 
-     * format specifiers in the formatPatterns.DatePattern. 
+     * The dateElementOrder is based on the order of the
+     * format specifiers in the formatPatterns.DatePattern.
      *
      * Example:
      <pre>
      shortDatePattern    dateElementOrder
-     ------------------  ---------------- 
+     ------------------  ----------------
      "M/d/yyyy"          "mdy"
      "dd/MM/yyyy"        "dmy"
      "yyyy-MM-dd"        "ymd"
@@ -39,7 +39,7 @@ Date.CultureInfo = {
      * string being parsed.
      */
     dateElementOrder: "ymd",
-    
+
     /* Standard date and time format patterns */
     formatPatterns: {
         shortDate: "yyyy/M/d",
@@ -56,31 +56,31 @@ Date.CultureInfo = {
 
     /**
      * NOTE: If a string format is not parsing correctly, but
-     * you would expect it parse, the problem likely lies below. 
-     * 
+     * you would expect it parse, the problem likely lies below.
+     *
      * The following regex patterns control most of the string matching
      * within the parser.
-     * 
+     *
      * The Month name and Day name patterns were automatically generated
-     * and in general should be (mostly) correct. 
+     * and in general should be (mostly) correct.
      *
      * Beyond the month and day name patterns are natural language strings.
      * Example: "next", "today", "months"
      *
-     * These natural language string may NOT be correct for this culture. 
+     * These natural language string may NOT be correct for this culture.
      * If they are not correct, please translate and edit this file
-     * providing the correct regular expression pattern. 
+     * providing the correct regular expression pattern.
      *
      * If you modify this file, please post your revised CultureInfo file
      * to the Datejs Forum located at http://www.datejs.com/forums/.
      *
      * Please mark the subject of the post with [CultureInfo]. Example:
      *    Subject: [CultureInfo] Translated "da-DK" Danish(Denmark)
-     * 
+     *
      * We will add the modified patterns to the master source files.
      *
-     * As well, please review the list of "Future Strings" section below. 
-     */        
+     * As well, please review the list of "Future Strings" section below.
+     */
     regexPatterns: {
         jan: /^一月/i,
         feb: /^二月/i,
@@ -107,12 +107,12 @@ Date.CultureInfo = {
         past: /^last|past|prev(ious)?/i,
         add: /^(\+|aft(er)?|from|hence)/i,
         subtract: /^(\-|bef(ore)?|ago)/i,
-        
+
         yesterday: /^yes(terday)?/i,
         today: /^t(od(ay)?)?/i,
         tomorrow: /^tom(orrow)?/i,
         now: /^n(ow)?/i,
-        
+
         millisecond: /^ms|milli(second)?s?/i,
         second: /^sec(ond)?s?/i,
         minute: /^mn|min(ute)?s?/i,
@@ -121,7 +121,7 @@ Date.CultureInfo = {
         month: /^m(onth)?s?/i,
         day: /^d(ay)?s?/i,
         year: /^y(ear)?s?/i,
-               
+
         shortMeridian: /^(a|p)/i,
         longMeridian: /^(a\.?m?\.?|p\.?m?\.?)/i,
         timezone: /^((e(s|d)t|c(s|d)t|m(s|d)t|p(s|d)t)|((gmt)?\s*(\+|\-)\s*\d\d\d\d?)|gmt|utc)/i,
@@ -135,12 +135,12 @@ Date.CultureInfo = {
 /********************
  ** Future Strings **
  ********************
- * 
- * The following list of strings may not be currently being used, but 
- * may be incorporated into the Datejs library later. 
+ *
+ * The following list of strings may not be currently being used, but
+ * may be incorporated into the Datejs library later.
  *
  * We would appreciate any help translating the strings below.
- * 
+ *
  * If you modify this file, please post your revised CultureInfo file
  * to the Datejs Forum located at http://www.datejs.com/forums/.
  *
@@ -192,4 +192,4 @@ Date.CultureInfo = {
  * end                 end
  * long                long
  * short               short
- */
\ No newline at end of file
+ */