summaryrefslogtreecommitdiffstats
path: root/polygerrit-ui/app/elements/shared/gr-date-formatter/gr-date-formatter.html
diff options
context:
space:
mode:
Diffstat (limited to 'polygerrit-ui/app/elements/shared/gr-date-formatter/gr-date-formatter.html')
-rw-r--r--polygerrit-ui/app/elements/shared/gr-date-formatter/gr-date-formatter.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/polygerrit-ui/app/elements/shared/gr-date-formatter/gr-date-formatter.html b/polygerrit-ui/app/elements/shared/gr-date-formatter/gr-date-formatter.html
index 21552d94a3..1090fea170 100644
--- a/polygerrit-ui/app/elements/shared/gr-date-formatter/gr-date-formatter.html
+++ b/polygerrit-ui/app/elements/shared/gr-date-formatter/gr-date-formatter.html
@@ -1,4 +1,5 @@
<!--
+@license
Copyright (C) 2015 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
@@ -26,11 +27,12 @@ limitations under the License.
<template>
<style include="shared-styles">
:host {
+ color: inherit;
display: inline;
}
</style>
<span>
- [[_computeDateStr(dateStr, _timeFormat, _relative)]]
+ [[_computeDateStr(dateStr, _timeFormat, _relative, showDateAndTime)]]
</span>
<gr-rest-api-interface id="restAPI"></gr-rest-api-interface>
</template>