close Warning: Can't synchronize with repository "(default)" (/var/svn/tolp does not appear to be a Subversion repository.). Look in the Trac log for more information.

Opened 12 years ago

#1601 new defect

Error en tol al intentar cambiar el formato de la fecha en el tabulado de una serie medio horaria

Reported by: jmarinero Owned by: Jorge
Priority: normal Milestone: Mantainance
Component: Toltcl Version: 3.1
Severity: normal Keywords:
Cc:

Description

Buenas.

Si tenemos una serie medio horaria y la tabulamos, obtenemos una tabla cuya primera columna es tal que así:

y2011m02d01h08
y2011m02d01h08i30
y2011m02d01h09
y2011m02d01h09i30
y2011m02d01h10
y2011m02d01h10i30
y2011m02d01h11
y2011m02d01h11i30
.
.
.

Si yo a una serie como esta, hago click derecho en la fecha y le doy a tipo de formato y le pongo cualquier formato, obtengo un error TCL que dice:

unable to convert date-time string "20110201T08300:00"
unable to convert date-time string "20110201T08300:00"
    while executing
"clock scan $res"
    (procedure "::btable::Snit_method_ShowDate" line 40)
    invoked from within
"::btable::Snit_method_ShowDate ::btable ::btable::Snit_inst3 .main.mdi.slave6.work.t .main.mdi.slave6.work.t 0 2,0"
    ("uplevel" body line 1)
    invoked from within
"uplevel 1 $command $args"
    invoked from within
"$self _ShowDate $col $cell"
    ("date" arm line 2)
    invoked from within
"switch $type {
          text {
            return $matrix($cell)
          }
          date {
            return [$self _ShowDate $col $cell]
       ..."
    (procedure "::btable::Snit_method_Command" line 37)
    invoked from within
"::btable::Snit_method_Command ::btable ::btable::Snit_inst3 .main.mdi.slave6.work.t .main.mdi.slave6.work.t 0 2,0 {}"
    ("uplevel" body line 1)
    invoked from within
"uplevel 1 $command $args"
    invoked from within
".main.mdi.slave6.work.t _Command 0 2,0 {}"
	(in -command evaled by table).main.mdi.slave6.work.t _Command 0 2,0 {}

Y pierdo las series entonces, tengo que cerrar y volver a tabular.

Es un error que sucede en varias versiones de Tol, incluida la p14 de la 3.1, que la acabo de bajar hoy de la web.

Gracias por adelantado, un saludo.

Change History (0)

Note: See TracTickets for help on using tickets.