Changeset 51 for ccr/trunk/p/CCRUTIL.m


Ignore:
Timestamp:
Jul 7, 2008, 9:51:27 AM (16 years ago)
Author:
Christopher Edwards
Message:

Added Providers to Vitals section
Fixed hanging : in CCRUTIL (thanks to Skip for more optimized code)
Fixed GPLCCR to write correct time

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ccr/trunk/p/CCRUTIL.m

    r40 r51  
    2121          ; In this case, set H, MM and S to "00"
    2222          S:('$L(H)&'$L(MM)&'$L(S)) (H,MM,S)="00"
    23           I S="" S UTC=Y_"-"_M_"-"_D_"T"_H_":"_MM_OFF
    24           E  S UTC=Y_"-"_M_"-"_D_"T"_H_":"_MM_":"_S_OFF
     23          S UTC=Y_"-"_M_"-"_D_"T"_H_":"_MM_$S(S="":"",1:":"_S)_OFF ; Skip's code to fix hanging colon if no seconds
    2524          I $L($G(FORMAT)),FORMAT="DT" Q UTC ; Date with time.
    2625          E  Q $P(UTC,"T")
Note: See TracChangeset for help on using the changeset viewer.