Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor date getters #109

Merged
merged 3 commits into from
Dec 9, 2021
Merged

Refactor date getters #109

merged 3 commits into from
Dec 9, 2021

Commits on Dec 8, 2021

  1. refactor date getters

    if post_modified_gmt is not available in the XML return wp:post_date_gmt
    nickmoreton committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    b16ca14 View commit details
    Browse the repository at this point in the history
  2. alter xml fixture

    Item with title: Item two title is not currently used in other tests.
    
    Change the date fields to remove the wp:post_modified and post_modified_gmt
    nickmoreton committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    4daec4f View commit details
    Browse the repository at this point in the history
  3. add a test for new date getters

    This test that the refactored date getters still return a date
    nickmoreton committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    be81a9b View commit details
    Browse the repository at this point in the history