opened
WangTaoTheTonic
username_0
## What changes were proposed in this pull request?

Before we show "-" while the timestamp is less than 0, we should update it as now the date string is presented in format "yyyy-MM-dd ....."

## How was this patch tested?

**Before:**
![historyserver-before](https://cloud.githubusercontent.com/assets/5276001/21299300/1bd15ac6-c5d5-11e6-97c3-d51b19da9cd5.JPG)

**After:**
![history-after](https://cloud.githubusercontent.com/assets/5276001/21299304/24a34c68-c5d5-11e6-8282-974cf14f0089.JPG)
[SPARK-18920][HISTORYSERVER]Update outdated date formatting
issue
created
srowen
username_1
I don't think this can be the right change -- it's construing any date before 2000 as invalid, which may happen to be OK but is pretty arbitrary. It arises as the result of formatting -1 as a date, and this method seems to try to handle that, but it's comparing the string to -1 I guess. Surely this should be handled elsewhere, like in whatever calls `formatDate`?
comment
created
srowen
username_1
Ping @username_0 I don't think we can make this change -- can you investigate a more fundamental fix or close this?
comment