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

port/MycroftAI/lingua-franca/pull/232 #27

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from

Commits on Jun 21, 2022

  1. port/MycroftAI/pull/232

    Improve nice_relative_time tests
    
    - Add more variations
    - Remove import from mycroft-core
    - Remove reference to local time to ensure deterministic outcome
    
    Ensure relative datetimes are compared in the same timezone.
    
    All comparisons are made in UTC to prevent issues of the two datetimes
    passed in having different timezone info.
    
    Remove unnecessary duplicate function
    
    The nice_relative_time function is already defined in the top level format.py
    hence it isn't needed in format_en.py.
    
    This convention may change in the future.
    
    Added general nice_relative_time_en
    
    Added test for function nice_relative_time
    
    Added function nice_relative_time (used in skill-alarm but not localized)
    e-gor authored and JarbasAl committed Jun 21, 2022
    Configuration menu
    Copy the full SHA
    e2fa1d9 View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2024

  1. Update lingua_franca/format.py

    Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
    JarbasAl and coderabbitai[bot] authored Jul 17, 2024
    Configuration menu
    Copy the full SHA
    a38a7ba View commit details
    Browse the repository at this point in the history
  2. Update lingua_franca/format.py

    Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
    JarbasAl and coderabbitai[bot] authored Jul 17, 2024
    Configuration menu
    Copy the full SHA
    b6a8a8c View commit details
    Browse the repository at this point in the history