* Fixed unclosed <p> tag
[lhc/web/wiklou.git] / includes / DateFormatter.php
index 154e3cb..f5cad86 100755 (executable)
@@ -8,28 +8,16 @@
 
 /** */
 define('DF_ALL', -1);
-/** */
 define('DF_NONE', 0);
-/** */
 define('DF_MDY', 1);
-/** */
 define('DF_DMY', 2);
-/** */
 define('DF_YMD', 3);
-/** */
 define('DF_ISO1', 4);
-/** */
 define('DF_LASTPREF', 4);
-
-/** */
 define('DF_ISO2', 5);
-/** */
 define('DF_YDM', 6);
-/** */
 define('DF_DM', 7);
-/** */
 define('DF_MD', 8);
-/** */
 define('DF_LAST', 8);
 
 /**
@@ -286,7 +274,7 @@ class DateFormatter
         */
        function makeNormalYear( $iso ) {
                if ( $iso{0} == '-' ) {
-                       $text = (IntVal( substr( $iso, 1 ) ) - 1) . ' BC';
+                       $text = (IntVal( substr( $iso, 1 ) ) + 1) . ' BC';
                } else {
                        $text = IntVal( $iso );
                }