Skip to content

Add function for getting start of day.#247

Merged
mattcoley merged 1 commit into
masterfrom
today-function
Oct 23, 2018
Merged

Add function for getting start of day.#247
mattcoley merged 1 commit into
masterfrom
today-function

Conversation

@mattcoley

Copy link
Copy Markdown
Collaborator

Adds a function today() which returns the start of today. You can optionally include a timezone today('America/New_York) to get the start of today in a timezone.

@codecov-io

Copy link
Copy Markdown

Codecov Report

Merging #247 into master will increase coverage by 0.06%.
The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #247      +/-   ##
============================================
+ Coverage     71.78%   71.84%   +0.06%     
- Complexity     1400     1402       +2     
============================================
  Files           220      220              
  Lines          4402     4412      +10     
  Branches        699      700       +1     
============================================
+ Hits           3160     3170      +10     
  Misses         1002     1002              
  Partials        240      240
Impacted Files Coverage Δ Complexity Δ
...ain/java/com/hubspot/jinjava/lib/fn/Functions.java 83.33% <100%> (+1.42%) 33 <2> (+2) ⬆️
...va/com/hubspot/jinjava/lib/fn/FunctionLibrary.java 80% <100%> (+1.42%) 2 <0> (ø) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 49904ed...a77d398. Read the comment docs.

@mattcoley mattcoley merged commit c90d541 into master Oct 23, 2018
@mattcoley mattcoley deleted the today-function branch October 23, 2018 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants