Browse Source

Add a test for local time in TOML

index-subcmd
Vincent Prouillet 5 years ago
parent
commit
603906de85
4 changed files with 396 additions and 355 deletions
  1. +3
    -0
      CHANGELOG.md
  2. +390
    -354
      Cargo.lock
  3. +1
    -0
      components/templates/src/global_fns/load_data.rs
  4. +2
    -1
      components/utils/test-files/test.toml

+ 3
- 0
CHANGELOG.md View File

@@ -2,6 +2,9 @@


## 0.6.1 (unreleased) ## 0.6.1 (unreleased)


- Strip wrapping whitespaces from shortcodes
- Sort sitemap elements by permalink`

## 0.6.0 (2019-03-25) ## 0.6.0 (2019-03-25)


### Breaking ### Breaking


+ 390
- 354
Cargo.lock
File diff suppressed because it is too large
View File


+ 1
- 0
components/templates/src/global_fns/load_data.rs View File

@@ -431,6 +431,7 @@ mod tests {
json!({ json!({
"category": { "category": {
"date": "1979-05-27T07:32:00Z", "date": "1979-05-27T07:32:00Z",
"lt1": "07:32:00",
"key": "value" "key": "value"
}, },
}) })


+ 2
- 1
components/utils/test-files/test.toml View File

@@ -1,3 +1,4 @@
[category] [category]
key = "value" key = "value"
date = 1979-05-27T07:32:00Z
date = 1979-05-27T07:32:00Z
lt1 = 07:32:00

Loading…
Cancel
Save