Merge pull request #1054 from CartoDB/fix-time-dimension-iso-hours
Fix iso format for hours in time dimensions
This commit is contained in:
commit
214c796a4c
@ -129,9 +129,9 @@ function serialSqlExpr(params) {
|
||||
}
|
||||
|
||||
const isoParts = {
|
||||
second: `to_char($t, 'YYYY-MM-DD"T"HH:MI:SS')`,
|
||||
minute: `to_char($t, 'YYYY-MM-DD"T"HH:MI')`,
|
||||
hour: `to_char($t, 'YYYY-MM-DD"T"HH')`,
|
||||
second: `to_char($t, 'YYYY-MM-DD"T"HH24:MI:SS')`,
|
||||
minute: `to_char($t, 'YYYY-MM-DD"T"HH24:MI')`,
|
||||
hour: `to_char($t, 'YYYY-MM-DD"T"HH24')`,
|
||||
day: `to_char($t, 'YYYY-MM-DD')`,
|
||||
month: `to_char($t, 'YYYY-MM')`,
|
||||
year: `to_char($t, 'YYYY')`,
|
||||
|
Loading…
Reference in New Issue
Block a user