FIX: show today's date on /users page period chooser

FIX: show today’s date on /users page period chooser

diff --git a/app/assets/javascripts/discourse/templates/mobile/users.hbs b/app/assets/javascripts/discourse/templates/mobile/users.hbs
index 808458b..a24f118 100644
--- a/app/assets/javascripts/discourse/templates/mobile/users.hbs
+++ b/app/assets/javascripts/discourse/templates/mobile/users.hbs
@@ -4,7 +4,7 @@
       {{plugin-outlet name="users-top" connectorTagName='div' args=(hash model=model)}}
 
       <div class='directory-controls'>
-        {{period-chooser period=period onChange=(action (mut period))}}
+        {{period-chooser period=period onChange=(action (mut period)) fullDay=false}}
         {{#if lastUpdatedAt}}
           <div class='directory-last-updated'>
             {{i18n "directory.last_updated"}}
diff --git a/app/assets/javascripts/discourse/templates/users.hbs b/app/assets/javascripts/discourse/templates/users.hbs
index af5d17f..35e1f5d 100644
--- a/app/assets/javascripts/discourse/templates/users.hbs
+++ b/app/assets/javascripts/discourse/templates/users.hbs
@@ -5,7 +5,7 @@
         {{plugin-outlet name="users-top" connectorTagName='div' args=(hash model=model)}}
         <div class='directory-controls'>
           <div class='period-controls'>
-            {{period-chooser period=period onChange=(action (mut period))}}
+            {{period-chooser period=period onChange=(action (mut period)) fullDay=false}}
             {{#if lastUpdatedAt}}
               <div class='directory-last-updated'>
                 {{i18n "directory.last_updated"}}

GitHub sha: 600cb213

1 Like

This commit has been mentioned on Discourse Meta. There might be relevant details there:

https://meta.discourse.org/t/date-displayed-in-u/147554/7