Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7f35b56

Browse files
committed
fixed timestamp format
1 parent 7fbf103 commit 7f35b56

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

source/ut_teamcity_reporter_printer.pkb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ create or replace package body ut_teamcity_reporter_printer is
1414
l_value varchar2(32767);
1515
begin
1616
l_message := '##teamcity[' || a_command || ' timestamp=''' ||
17-
to_char(systimestamp, 'YYYY-MM-DD"T"HH24:MI:ss.FFTZHTZM') || '''';
17+
regexp_replace(to_char(systimestamp, 'YYYY-MM-DD"T"HH24:MI:ss.FFTZHTZM')
18+
,'(\.\d{3})\d+(\+)'
19+
,'\1\2') || '''';
1820

1921
l_index := a_props.first;
2022
while l_index is not null loop

0 commit comments

Comments
 (0)