Last active
March 30, 2017 11:56
-
-
Save destroytoday/d1829bb0cee61692d185861b89faecac to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import startOfDay from 'date-fns/start_of_day' | |
const getters = { | |
today (state) { | |
return startOfDay(state.now) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment