Incorrect Format Of Notification Timestamp Variable Parts Containing AM/PM (Doc ID 2031586.1)

Last updated on OCTOBER 18, 2016

Applies to:

Oracle Communications Network Charging and Control - Version 5.0.1 and later
Information in this document applies to any platform.

Symptoms

In Oracle Communications Network Charging and Control (NCC) 5.0.1, when configuring Advanced Control Services (ACS) notifications with timestamp variable parts, the actual end user notification text erroneously contains a colon (":") character between the minutes/seconds and the "AM/PM" designation.

For example, configuring a notification template such as:

"Your balance as of MM/DD/YYYY hh:mm AM/PM"

Results in the following notification on the handset:

"Your balance as of 06/22/2015 04:23:PM"

Where a ":" is present between the minutes and AM/PM.

From the slee_acs debug, the addition of the extraneous ":" can be see below:

2015/06/22 08:23:25  VariablePartProcessor.cc  1121 [5904] S_NotificationPlugin            VariablePartProcessor::applyFormatting((time_t) 1439023419)
2015/06/22 08:23:25    acsNotificationUtil.cc   271 [5904]          ACS_NotifIF             formatField(time_t, formatString='X%I:%M:%p', maxLength=0, referenceDate=0)
2015/06/22 08:23:25 sNotificationProcessor.cc   172 [5904]          ACS_NotifIF              acsNotificationProcessorContext::getTimeZoneType : 5
2015/06/22 08:23:25                cmnTime.cc   341 [5904]       COMMON_cmnTime              void cmnTimeSetTZ(char*)
2015/06/22 08:23:25                cmnTime.cc   348 [5904]       COMMON_cmnTime              void cmnTimeResetTZ()
2015/06/22 08:23:25                cmnTime.cc   354 [5904]       COMMON_cmnTime              currentTZ not set
2015/06/22 08:23:25                cmnTime.cc   343 [5904]       COMMON_cmnTime              Setting currentTZ
2015/06/22 08:23:25                cmnTime.cc   382 [5904]       COMMON_cmnTime              Changing Timezone to 'Asia/Manila'
2015/06/22 08:23:25                cmnTime.cc   348 [5904]       COMMON_cmnTime              void cmnTimeResetTZ()
2015/06/22 08:23:25                cmnTime.cc   350 [5904]       COMMON_cmnTime              Resetting currentTZ
2015/06/22 08:23:25                cmnTime.cc   388 [5904]       COMMON_cmnTime              Timezone reverting to 'localtime'
2015/06/22 08:23:25 sNotificationProcessor.cc   725 [5904]          ACS_NotifIF       Finished processing variable part - got '04:43:PM'
2015/06/22 08:23:25 sNotificationProcessor.cc   729 [5904]          ACS_NotifIF       Text now:
2015/06/22 08:23:25 sNotificationProcessor.cc   730 [5904]          ACS_NotifIF        Your balance as of 06/22/201504:23:PM, is P 8.96, valid until 08/08/2015 04:43:PM.

Changes

Configuration of a timestamp variable part in an ACS notification.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms