Skip to content

Instantly share code, notes, and snippets.

@marwahaha
marwahaha / awqms.r
Last active February 10, 2022 21:45
library(digest)
library(httr)
library(jsonlite)
encryptionKey <- "test"
userLoginName <- "test"
uri <- "https://awqms.goldsystems.com/api/ContinuousResultsVer1?OrganizationIdentifiersCsv=BISHOP_PAIUTE_TRIBE_WQX&MonitoringLocationIdentifiersCsv=SW-1&MinDate=02-01-2021&MaxDate=02-02-2021"
getUTCTime <- function() {
time <- Sys.time()
as.numeric(time)
attr(time, "tzone") <- "UTC"
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

moment 2.29.1 changelog

Bugfixes

  • #5728 [bugfix] add format and standalone in hi locale

Misc

  • #5737 [misc] Update dep message to reflect project status

moment 2.29.0 changelog

Bugfixes

  • #5601 [bugfix] fix moment.months() for PL locale
  • #5574 [bugfix] More complete type definitions for strict formatless parsing #4611
  • #5637 [bugfix] expose deprecation handler in typings
  • #5647 [bugfix] allow calendar with falsy input

New locales

moment 2.28.0 changelog

Bugfixes

  • #5580 [bugfix] Fix bug where .format() modifies original moment instance

Locale improvements

  • #5676 [locale] Update dow for Konkani locales
  • #5675 [locale] az: fix a word

moment 2.27.0 changelog

Bugfixes

  • #5566 [bugfix] update moment.d.ts for calendar

New locales

  • #5522 [new locale] tk: Add Turkmen

moment 2.26.0 changelog

Bugfixes

  • #5548 [bugfix] isoWeeksInISOWeekYear in moment.d.ts
  • #5526 [bugfix] Add 'w' to supported time units
  • #5525 [bugfix] Update the type definition of the humanize() API, fix compilation error

Locale improvements

moment 2.24.0 changelog

Bugfixes

  • #4445 [bugfix] (TypeScript) allow update of a single relativeTime handler
  • #4338 [bugfix] Fix startOf/endOf DST issues while boosting performance
  • #4849 [bugfix] locale/en-ie.js date format
  • #4887 [bugfix] Make Duration#as work with quarters
  • #4912 [bugfix] pipeline breaks with rollup v0.68

moment 2.23.0 changelog

Bugfixes

  • #4417 [bugfix] isBetween should return false for invalid dates
  • #4700 [bugfix] Fix #4698: Use ISO WeekYear for HTML5_FMT.WEEK

Features

  • #4563 [feature] Fix #4518: Add support to add/subtract ISO weeks
function unspiral(i, j) {
/**
* j
* ^
* |
* 12 13 14 15 16
* 11 2 3 4 17
* 10 1 0 5 18 --> i
* 9 8 7 6 19
* 24 23 22 21 20