Maileater sets date field with the wrong format

book

Article ID: 49515

calendar_today

Updated On:

Products

CA IT Asset Manager CA Software Asset Manager (CA SAM) ASSET PORTFOLIO MGMT- SERVER SUPPORT AUTOMATION- SERVER CA Service Desk Manager - Unified Self Service KNOWLEDGE TOOLS CA Service Management - Asset Portfolio Management CA Service Management - Service Desk Manager

Issue/Introduction

Description:

Maileater sets date fields with the wrong format: the date format setting for the web interface is set in web.cfg (%NX_ROOT\bopcfg\www\web.cfg) file but if a date is set when the request/incident is updated via email, the format used is not the one specified in this file and consequently wrong date can be stored.

Solution:

The date format used by maileater (when the update to the Request/Incident is done via email) is the one defined in text_api.cfg (%NX_ROOT\site\text_api.cfg) file, in the variable 'INCOMING_DATE_FMT'.

Details and syntax:

INCOMING_DATE_FMT = How are dates expected to be entered as input. Valid (d/m/y, y/m/d, m/d/y) 

So, if the web.cfg has a date format in the form "DateFormat DD/MM/YYYY HH:mm" to have the date set via email with the same format, the following has to be used:

INCOMING_DATE_FMT=d/m/y

Service Desk must be recycled for this change to take affect.

Environment

Release:
Component: ARGIS