ARIS User Group Deutschland (German only)
Register
ARIS Process Mining in action - Live Demo
Register
AGNL Thema-sessie Architectuur (Dutch only)
Register

View all
Profile picture for user lukashundemer

In a MashApp I have a date field, e.g. the current date. I convert the date into a text field using the format

yyyy-MM-dd'T'hh:mm:ssZ

as expected by the MashZone - Optimize Interface for the startDate or endDate, rsp.

The result looks like

2012-03-20T08:46:00+0000

For my time zone MEZ, I would expect +0100. Am I wrong, or is this a bug in MashZone?

 

by Thomas Staub
Posted on Wed, 03/28/2012 - 09:05

Hello Lukas

What you describe is the intended behavior of mashzone.

Mashzone handles dates only in GMT Timezone. So if you create a output with timezone, you get GMT.

Regards

  Thomas

0
by Lukas Hundemer Author
Posted on Wed, 03/28/2012 - 11:46

Sorry but that does not fit together. The time MashZone returns is my local time. Only the time zone value is +0000 ("GMT"). It should either return the GMT time with the +0000 or the local time with the local time zone. Which sense does it makes to add a +0000 behind a local time?

Example

Current time (now MESZ) : 2012-03-28 10:49:00

MashZone value: 2012-03-28 10:49:00+0000

GMT would be: 2012-03-28 08:49:00+0000

Local would be: 2012-03-28 10:49:00+0200

And if I forward the time which I receive from MashZone, to Optimize, it does not give me the expected time range.

0
by Thomas Staub
Posted on Wed, 03/28/2012 - 13:33

Hi Lukas



The dateParser and the dateFormatter in Mashzone works in GMT-Time.



So if you have a Date as Text mashzone interprets this date as GMT-Date.



And if you format the date mashzone formats the date as GMT-Date.



The only exception is the InfoOperator. Here we use the local Timezone to create the current Date. And after that we handle this Date as GMT Date.



For example: You have this string "2012-03-28 10:49:00+0200" and you parse the string with the pattern "yyyy-MM-dd hh:mm:ssZ" you will get "2012-03-28T08:49:00" (+0200)

All this things happens on the Mashzone-Server. There is no functionality to transfer the Timezone from client.

Best Regards

  Thomas

 

0

Featured achievement

Question Solver
Share your expertise and have your answer accepted as best reply.
Recent Unlocks
  • BH
  • Profile picture for user Ivan.Ivanov.softwareag.com
  • Profile picture for user mscheid
  • MS
  • Profile picture for user syarafuddinhilmi
  • PacMan

Leaderboard

|
icon-arrow-down icon-arrow-cerulean-left icon-arrow-cerulean-right icon-arrow-down icon-arrow-left icon-arrow-right icon-arrow icon-back icon-close icon-comments icon-correct-answer icon-tick icon-download icon-facebook icon-flag icon-google-plus icon-hamburger icon-in icon-info icon-instagram icon-login-true icon-login icon-mail-notification icon-mail icon-mortarboard icon-newsletter icon-notification icon-pinterest icon-plus icon-rss icon-search icon-share icon-shield icon-snapchat icon-star icon-tutorials icon-twitter icon-universities icon-videos icon-views icon-whatsapp icon-xing icon-youtube icon-jobs icon-heart icon-heart2 aris-express bpm-glossary help-intro help-design Process_Mining_Icon help-publishing help-administration help-dashboarding help-archive help-risk icon-knowledge icon-question icon-events icon-message icon-more icon-pencil forum-icon icon-lock