How to list only the directory name in Hadoop

I run

hdfs dfs -ls -C /user/constantine/analytic/2018-01-3*

I get output as

/user/constantine/analytic/2018-01-30/one.csv
/user/constantine/analytic/2018-01-30/two.csv
/user/constantine/analytic/2018-01-31/one.csv
/user/constantine/analytic/2018-01-31/three.csv

How can I only get

2018-01-30
2018-01-31

as output.