Index: trunk/psLib/src/types/psMetadataConfig.c
===================================================================
--- trunk/psLib/src/types/psMetadataConfig.c	(revision 5003)
+++ trunk/psLib/src/types/psMetadataConfig.c	(revision 5007)
@@ -10,6 +10,6 @@
 *  @author Eric Van Alst, MHPCC
 *
-*  @version $Revision: 1.39 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2005-09-09 01:11:23 $
+*  @version $Revision: 1.40 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2005-09-12 23:04:59 $
 *
 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -1185,5 +1185,7 @@
         if ( type == 65538)
             type = PS_DATA_VECTOR;
-        if ( type == 65547)
+        if ( type == 65549)
+            type = PS_DATA_TIME;
+        if ( item->type == PS_META_META)
             type = PS_DATA_METADATA;
 
@@ -1287,4 +1289,38 @@
             }
             psFree(newStr);
+            break;
+        case PS_DATA_TIME:
+            snprintf(content, MAXSTR, "%s ", item->name);
+            if ( ((psTime*)(item->data.V))->type == PS_TIME_UTC )
+                strncat(content, "PS_TIME_UTC  ", MAXSTR);
+            else if ( ((psTime*)(item->data.V))->type == PS_TIME_TAI )
+                strncat(content, "PS_TIME_TAI  ", MAXSTR);
+            else if ( ((psTime*)(item->data.V))->type == PS_TIME_UT1 )
+                strncat(content, "PS_TIME_UT1  ", MAXSTR);
+            else if ( ((psTime*)(item->data.V))->type == PS_TIME_TT )
+                strncat(content, "PS_TIME_TT  ", MAXSTR);
+            else {
+                psError(PS_ERR_BAD_PARAMETER_VALUE, true,
+                        PS_ERRORTEXT_psMetadata_METATYPE_INVALID, type);
+                psFree(iter);
+                return NULL;
+            }
+            strncat(mdString, content, MAXSTR);
+
+            snprintf(content, MAXSTR, "%ld, ", ((psTime*)(item->data.V))->sec);
+            strncat(mdString, content, MAXSTR);
+            snprintf(content, MAXSTR, "%u, ", ((psTime*)(item->data.V))->nsec);
+            strncat(mdString, content, MAXSTR);
+            if ( ((psTime*)(item->data.V))->leapsecond )
+                strncat(mdString, "T ", MAXSTR);
+            else
+                strncat(mdString, "F ", MAXSTR);
+            if ( item->comment != NULL ) {
+                snprintf(content, MAXSTR, " #%s \n", item->comment);
+                strncat(mdString, content, MAXSTR);
+            } else {
+                snprintf(content, MAXSTR, "\n");
+                strncat(mdString, content, MAXSTR);
+            }
             break;
         case PS_DATA_VECTOR:
